Anonymous | Login | 12-15-2019 02:26 UTC |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0006482 | [Squeak] Kernel | minor | always | 05-11-07 22:39 | 04-18-10 22:05 | ||||
Reporter | nicolas cellier | View Status | public | ||||||
Assigned To | andreas | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | 3.9 | ||||||
Summary | 0006482: [BUG] Interval storeOn: incorrect for some ScaledDecimal | ||||||||
Description |
Some ScaledDecimal have more bits than printed. Example: 0.5s1 squared will print 0.2s1 However 0.5s1 squared * 4 = 1 Thus (0 to: 1 by: 0.5s1 squared) size = 5 (0 0.25 0.5 0.75 1) If you storeString and reinterpret, you get size 6 (0 0.2 0.4 0.6 0.8 1.0) |
||||||||
Additional Information |
Interval SHOULD use storeOn: and not rely on Number>>printOn: This is some sort of violation of encapsulation. And it is defeated by introduction of a new species of Number (ScaledDecimal)... Note that ScaledDecimal storeOn: has to be patched first see bug 0004378 |
||||||||
Attached Files |
![]() ![]() |
||||||||
|
![]() |
||||||||||||||||
SYSTEM WARNING: Creating default object from empty value
|
![]() |
|
(0011564 - 196 - 268 - 268 - 268 - 268 - 268) Keith_Hodges 12-17-07 17:06 edited on: 12-17-07 17:11 |
"fix begin" Installer mantis ensureFix: 4378. Installer mantis bug: 6482 fix:'Interval-storeOn-Patch.1.cs'. "fix test" Installer mantis bug: 6482 fix:'Interval-storeOn-Test.1.cs'. "fix end" |
(0013266 - 64 - 64 - 224 - 224 - 224 - 224) nicolas cellier 08-24-09 20:05 |
Fixed in http://source.squeak.org/trunk/Collections-nice.109.mcz [^] |
Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
73 total queries executed. 41 unique queries executed. |