Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0007134 [Squeak] Kernel minor always 07-23-08 23:42 04-18-10 22:05
Reporter nicolas cellier View Status public  
Assigned To andreas
Priority normal Resolution fixed  
Status closed   Product Version 3.10
Summary 0007134: Float rounded is inexact
Description 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.
Additional Information 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
Attached Files  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

- Relationships

SYSTEM WARNING: Creating default object from empty value

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. 

- Notes
(0012404 - 175 - 229 - 229 - 229 - 229 - 229)
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 - 59 - 59 - 209 - 209 - 209 - 209)
nicolas cellier
08-24-09 20:11

Fixed in http://source.squeak.org/trunk/Kernel-nice.194.mcz [^]
 

- Issue History
Date Modified Username Field Change
07-23-08 23:42 nicolas cellier New Issue
07-24-08 00:07 nicolas cellier File Added: Float-rounded-Test-M7134-nice.1.cs
07-24-08 00:07 nicolas cellier File Added: Float-rounded-Patch-M7134-nice.1.cs
07-24-08 00:11 nicolas cellier Note Added: 0012404
07-26-08 01:27 wiz Relationship added child of 0006511
07-26-08 01:28 wiz Relationship added related to 0005640
01-10-09 02:13 Keith_Hodges Status new => pending
01-10-09 03:35 Keith_Hodges Status pending => testing
01-10-09 03:40 Keith_Hodges Status testing => resolved
01-10-09 03:40 Keith_Hodges Fixed in Version  => 3.11
01-10-09 03:40 Keith_Hodges Resolution open => fixed
01-10-09 03:40 Keith_Hodges Assigned To  => Keith_Hodges
01-10-09 03:41 Keith_Hodges Status resolved => testing
08-24-09 20:11 nicolas cellier Note Added: 0013274
10-03-09 19:33 Keith_Hodges Status testing => assigned
10-03-09 19:33 Keith_Hodges Assigned To Keith_Hodges => andreas
10-03-09 20:09 nicolas cellier Status assigned => resolved
10-03-09 20:09 nicolas cellier Fixed in Version 3.11 => trunk
04-18-10 22:05 andreas Status resolved => closed


Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
63 total queries executed.
39 unique queries executed.
Powered by Mantis Bugtracker