[Pharo-project] no Complex class in Pharo?
bschwab at anest.ufl.edu
Sat Mar 24 17:34:31 EDT 2012
One thing that must not happen is "automatic" use of complex numbers. Things like -1 sqrt should raise an error. If one wants a complex result, then -1 asComplex sqrt would be a nice choice. That way, one can choose whether or not complex numbers are viable - many times, they are not wanted.
From: pharo-project-bounces at lists.gforge.inria.fr [pharo-project-bounces at lists.gforge.inria.fr] on behalf of Stéphane Ducasse [stephane.ducasse at inria.fr]
Sent: Saturday, March 24, 2012 4:29 PM
To: Pharo-project at lists.gforge.inria.fr; lenglish5 at cox.net
Subject: Re: [Pharo-project] no Complex class in Pharo?
On Mar 24, 2012, at 8:20 PM, Lawson English wrote:
> Was this done just for streamlining, or are there known bugs in the implementation of Complex in Squeak?
no there were a lot of discussions three years ago about the fact that
nobody used complex
the implementation was not coherent
Now I think that serge packaged it with its quaternium implementation.
More information about the Pharo-dev