Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0002687 [Squeak] Any minor always 02-08-06 02:06 02-08-06 19:07
Reporter nicolas cellier View Status public  
Assigned To KenCausey
Priority normal Resolution fixed  
Status closed   Product Version 3.8
Summary 0002687: aNumber = (aNumber + 0 i) answer false
Description
self
  should: 1 = (1 + 0 i)
  description: 'due to a premature
       isNumber ifFalse: [^false].
    this message answer false'.

self should: ((1+0i)=1) = (1=(1+0i)
  description: 'equality test should be commutative'.
Additional Information aComplex cannot answer true to isNumber because it is not kindOf: Number.

isNumber test should be replaced with isArithmeticValue, and Complex Quaternion or whatever RealNumber extension should answer true to this one.

Note that VW has ArithmeticValue as superclass of both Complex and Number.
Attached Files

- Relationships

- Notes
(0003713 - 14 - 14 - 14 - 14 - 14 - 14)
MarcusDenker
02-08-06 19:07

duplicate post
 

- Issue History
Date Modified Username Field Change
02-08-06 02:06 nicolas cellier New Issue
02-08-06 02:06 nicolas cellier Status new => assigned
02-08-06 02:06 nicolas cellier Assigned To  => KenCausey
02-08-06 19:07 MarcusDenker Status assigned => closed
02-08-06 19:07 MarcusDenker Note Added: 0003713
02-08-06 19:07 MarcusDenker Resolution open => fixed


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