rounding bug or no bug?
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ikarus Scheme |
Fix Released
|
Medium
|
Abdulaziz Ghuloum |
Bug Description
[61]: ikarus
Ikarus Scheme version 0.0.2patched+ (revision 1333, build 2008-01-06)
Copyright (c) 2006-2007 Abdulaziz Ghuloum
> 134078079299425
1.3407807929942
> ^D
[62]: larceny
Larceny v0.95 "First Safety" (Nov 8 2007 04:30:20, precise:BSD Unix:unified)
larceny.heap, built on Thu Nov 8 04:39:44 EST 2007
> 134078079299425
1.3407807929942
> ^D
[63]: petite
Petite Chez Scheme Version 7.4
Copyright (c) 1985-2007 Cadence Research Systems
> 134078079299425
1.3407807929942
>
[64]: mzscheme
Welcome to MzScheme v371 [3m], Copyright (c) 2004-2007 PLT Scheme Inc.
> 134078079299425
1.3407807929942
> ^D
[65]: gsi
Gambit v4.0.1
> 134078079299425
1.3407807929942
>
description: | updated |
description: | updated |
description: | updated |
Changed in ikarus: | |
status: | Fix Committed → Fix Released |
Just in case you cannot tell, the exact number is exactly in between the two inexact results:
> (- 134078079299425 985881397323556 087579724945243 752256797339810 681313491514865 654748987511363 544058503997293 037199742683192 953981324450789 778252977844088 99584 (inexact->exact 1.3407807929942 597e154) ) 291184501515855 463328635625750 668762738745649 192792194926205 623894697203927 186178778226844 164424963313240 787886413540281 5488 6e154) 134078079299425 985881397323556 087579724945243 752256797339810 681313491514865 654748987511363 544058503997293 037199742683192 953981324450789 778252977844088 99584) 291184501515855 463328635625750 668762738745649 192792194926205 623894697203927 186178778226844 164424963313240 787886413540281 5488
148856570735740
> (- (inexact->exact 1.3407807929942
148856570735740