Mantis - Squeak
Viewing Issue Advanced Details
7361 Kernel minor always 07-06-09 18:21 04-18-10 22:06
eem  
lewis  
normal  
closed 3.9  
fixed  
none    
none  
0007361: Float >= primitive failure code sends > instead of >=
Float >='s fallback case for other than Float x Float and Float x Integer is incorrect.
It uses #> instead of #>=. e.g. evaluate
    2.0 >= (Fraction numerator: 4 denominator: 2)
Fix attached.
related to 0003374closed nicolas cellier Arithmetic equality should be transitive 
 Float->=.st [^] (473 bytes) 07-06-09 18:21
 FloatTest-testComparisonWhenPrimitiveFails.st [^] (753 bytes) 07-10-09 20:29

Notes
(0013169)
nicolas cellier   
07-10-09 20:10   
Oh yes, thanks.
Another non regression test (with reduced fraction) :

self assert: 0.5 >= (1/2).

An update to issue 0003374 will be required.
(0013184)
lewis   
07-14-09 01:43   
Added to source.squeak.org/trunk Kernel-dtl.179 and source.squeak.org/tests KernelTests-dtl.465