Mantis - Squeak
Viewing Issue Advanced Details
7373 Kernel minor always 08-01-09 22:09 04-18-10 22:05
leves  
nicolas cellier  
normal  
closed  
fixed  
none    
none trunk  
0007373: -2.0 isInf is true
-2.0 isInf is true because it solves the equation used in the method: self = (self * 1.5 + 1.0).
Since we already have #isInfinite, #isInf seems to be redundant. It's only sender is #absPrintOn:base:digitCount: which has no senders.
 M7373-isInf-patch-nice.1.cs [^] (13,227 bytes) 08-09-09 19:04

Notes
(0013220)
nicolas cellier   
08-09-09 19:07   
Good find.
The uploaded patch simply deprecate isInf and use isInfinite as you suggested.
(0013221)
nicolas cellier   
08-09-09 20:22   
Fixed in source.squeak.org/trunk/Kernel-nice.212
(0013299)
nicolas cellier   
09-09-09 19:39   
"fix begin"
Installer mantis bug: 7373 fix:'M7373-isInf-patch-nice.1.cs'.
"fix test"
"fix end"