[Issue 2697] [DMC too] Cast of float function return to ulong or uint gives bogus value

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Aug 4 01:48:41 PDT 2009


http://d.puremagic.com/issues/show_bug.cgi?id=2697





--- Comment #6 from Don <clugdbug at yahoo.com.au>  2009-08-04 01:48:40 PDT ---
(In reply to comment #5)
> This is the output I get from running Stewart's program with DMD 2.031 on Linux

> As you suspected, float->uint works, while float->ulong fails.

Awesome! There's several ways to fix this, I'm not sure which is the best.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list