Verfasst: 19.01.2005 01:58

riecht nach mini-bug...
Code: Alles auswählen
Debug "should give: -2147483648.0"
f.l = -2147483648 : test1.f = f.l
test2.f = -2147483648
Debug test1
Debug test2
Code: Alles auswählen
Debug "should give: -2147483648.0"
f.l = -2147483648 : test1.f = f.l
test2.f = -2147483648
Debug test1
Debug test2
http://stevehollasch.com/cgindex/coding/ieeefloat.htmlIEEE reserves exponent field values of all 0s and all 1s to denote special values in the floating-point scheme.