SYSTEM WARNING: Creating default object from empty value

Mantis - Squeak
Viewing Issue Advanced Details
7134 Kernel minor always 07-23-08 23:42 04-18-10 22:05
nicolas cellier  
andreas  
normal  
closed 3.10  
fixed  
none    
none trunk  
0007134: Float rounded is inexact
try 5000000000000001.0 rounded -> 5000000000000002

Since 5000000000000001 highBit -> 53, this number is represented exactly
- you can check with 5000000000000001.0 asTrueFraction -> 5000000000000001 -
it should convert correctly to nearest integer.
This is a minor thing but one step toward ISO/IEC 10967-2
NEAREST F->I 15.3 page 38 on draft found at http://www.cs.chalmers.se/~kent/ISOStandards/SC22/WG11/LIA-2/N424.ps [^]

This rounded problem had been reported previously in a note at 0005640
related to 0005640closed nicolas cellier additional tests and fixes for Number>>printShowingDecimalPlaces: 
child of 0006511new  Mother of all Morphic Graphical off-by-one/fencepost -error reports. 
 Float-rounded-Test-M7134-nice.1.cs [^] (1,475 bytes) 07-24-08 00:07
 Float-rounded-Patch-M7134-nice.1.cs [^] (838 bytes) 07-24-08 00:07

Notes
(0012404)
nicolas cellier   
07-24-08 00:11   
"fix begin"
Installer mantis bug: 7134 fix:'Float-rounded-Patch-M7134-nice.1.cs'.
"fix test"
Installer mantis bug: 7134 fix:'Float-rounded-Test-M7134-nice.1.cs'.
"fix end"
(0013274)
nicolas cellier   
08-24-09 20:11   
Fixed in http://source.squeak.org/trunk/Kernel-nice.194.mcz [^]