Mantis - Squeak 3.8
Viewing Issue Advanced Details
2908 Kernel minor always 02-18-06 15:48 03-23-06 01:41
hilaire  
 
normal  
new 3.8  
open  
none    
none  
0002908: unexpected result with Complex
Noted the following problem:

(0.5 * (2+0i) ln) exp
--> returns NaN + NaN i instead of 1.414...

However:

(0.5 * 2 ln) exp
--> returns 1.414213562373095



 Complex-ln.st [^] (251 bytes) 03-23-06 01:40

Notes
(0003900)
MarcusDenker   
02-18-06 16:57   
seems to work in 3.9a:

(0.5 * (2+0i) ln) exp
  --> 1.414213562373095 + 0.0 i

the test

testBug1

    self assert: (0.5 * (2+0i) ln) exp = (0.5 * 2 ln) exp.

is green
(0004549)
nicolas cellier   
03-23-06 01:41   
This is already fixed in 3.9 by laza

Just in case, i give you backport to 3.8.