Roadmap proposal for 3.10/4.0

Ken Dickey Ken.Dickey at
Tue Oct 17 01:45:50 UTC 2006


I'd like to raise the idea of changing the complex number code in 3.10/4.0.

See change set at:

Current (3.8/3.9):
  2i isNumber. "false"
  -4 ln. "NaN"
  -4 sqrt. "exception"

 Alternate Code:
  2i isNumber. "true"
  -4 ln. "(1.38629436111989 +3.141592653589793i)"
  -4 sqrt. "2.0i"

I consider this a "community issue".

  - Are there users of complex numbers (does anyone care)?
  - Assuming yes, are there objective criteria for choosing between alternate 
   + behavior/completeness/test-cases
   + performance (I suspect that "the wrong answer fast" is not the Smalltalk 
way as we can always augment the primOps)
   + complex number user community vote
   + other...?

I am actually agnostic as to which code base gets chosen, but we really should 
get the answers right.


More information about the Squeak-dev mailing list