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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Mar 6 02:39:38 PST 2009


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





------- Comment #1 from maxmo at pochta.ru  2009-03-06 04:39 -------
In D2:

float:  5.000000
ulong:  0
long:   5
uint:   0
int:    5
ushort: 5
short:  5
ubyte:  5
byte:   5
float:  5.000000
ulong:  5
long:   5
uint:   5
int:    5
ushort: 5
short:  5
ubyte:  5
byte:   5


-- 



More information about the Digitalmars-d-bugs mailing list