Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0007361 [Squeak] Kernel minor always 07-06-09 18:21 04-18-10 22:06
Reporter eem View Status public  
Assigned To lewis
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version Product Version 3.9
  Product Build
Summary 0007361: Float >= primitive failure code sends > instead of >=
Description 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.
Steps To Reproduce
Additional Information
Attached Files  Float->=.st [^] (473 bytes) 07-06-09 18:21
 FloatTest-testComparisonWhenPrimitiveFails.st [^] (753 bytes) 07-10-09 20:29

- Relationships
related to 0003374closed nicolas cellier Arithmetic equality should be transitive 

- Notes
(0013169 - 146 - 179 - 179 - 270 - 270 - 270)
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 - 95 - 95 - 95 - 95 - 95 - 95)
lewis
07-14-09 01:43

Added to source.squeak.org/trunk Kernel-dtl.179 and source.squeak.org/tests KernelTests-dtl.465
 

- Issue History
Date Modified Username Field Change
07-06-09 18:21 eem New Issue
07-06-09 18:21 eem File Added: Float->=.st
07-10-09 20:10 nicolas cellier Note Added: 0013169
07-10-09 20:29 nicolas cellier File Added: FloatTest-testComparisonWhenPrimitiveFails.st
07-12-09 17:01 KenCausey Relationship added related to 0003374
07-14-09 01:43 lewis Status new => resolved
07-14-09 01:43 lewis Resolution open => fixed
07-14-09 01:43 lewis Assigned To  => lewis
07-14-09 01:43 lewis Note Added: 0013184
04-18-10 22:06 andreas Status resolved => closed


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