Aug. 14, 2009
2:23 a.m.
Coming from Scheme and Lisp, where (sqrt -4) is expected to work, I was surprised to find it "broken" in Squeak when I first tried it out. [Some years ago now]. I noted Smalltalk in a list of languages implementing complex numbers; http://rosettacode.org/wiki/Complex_numbers#Smalltalk Unfortunately, my laptop died and is now in pieces on my desk while I try and resurrect it. Perhaps some kind soul will look at GNU Smalltalk's library and see what they do. Note that GNU Smalltalk files in a 'Complex' package first. Other Smalltalk examples? Thanks much, -KenD