| Anonymous | Login | Signup for a new account | 02-09-2010 12:33 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 | ||||
| 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 | |||||||||
|
|
|||||||||
| Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
37 total queries executed. 31 unique queries executed. |