Seite 2 von 2

Verfasst: 19.01.2005 01:58
von Froggerprogger
:D
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

Verfasst: 19.01.2005 14:39
von ParkL
Hier die IEEE 754, die Erklärung des Standards für Gleitkommazahlen.
IEEE reserves exponent field values of all 0s and all 1s to denote special values in the floating-point scheme.
http://stevehollasch.com/cgindex/coding/ieeefloat.html