Mantis - Squeak
Viewing Issue Advanced Details
6990 Kernel minor always 03-23-08 01:28 04-18-10 22:05
nicolas cellier  
andreas  
normal  
closed 3.10  
fixed  
none    
none trunk  
0006990: 0.0 significandAsInteger is too big
It will answer (1 bitShift: 52), the implied 53rd bit.
It should not.

exponent does answer -1 (why ?). This leads to:

0.0 significandAsInteger asFloat timesTwoPower: 0.0 biasedExponent. "->0.5"

where biasedExponent is (self exponent max: -1022) - 52
 Float-zero-significandAsInteger-Test-M6990-nice.1.cs [^] (524 bytes) 03-23-08 15:05
 Float-zero-significandAsInteger-Patch-M6990-nice.1.cs [^] (620 bytes) 03-23-08 15:06

Notes
(0011949)
nicolas cellier   
03-23-08 15:07   
"fix begin"
Installer mantis bug: 6990 fix:'Float-zero-significandAsInteger-Patch-M6990-nice.1.cs'.
"fix test"
Installer mantis bug: 6990 fix:'Float-zero-significandAsInteger-Test-M6990-nice.1.cs'.
"fix end"

(0013275)
nicolas cellier   
08-24-09 20:12   
Fixed in http://source.squeak.org/trunk/Kernel-nice.195.mcz [^]