[Pharo-project] no Complex class in Pharo?
Was this done just for streamlining, or are there known bugs in the implementation of Complex in Squeak? L.
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. Stef
L.
Stef, 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. Bill ________________________________________ From: pharo-project-bounces@lists.gforge.inria.fr [pharo-project-bounces@lists.gforge.inria.fr] on behalf of Stéphane Ducasse [stephane.ducasse@inria.fr] Sent: Saturday, March 24, 2012 4:29 PM To: Pharo-project@lists.gforge.inria.fr; lenglish5@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. Stef
L.
http://www.squeaksource.com/Math-Complex Gofer new squeaksource: 'MetacelloRepository'; package: 'ConfigurationOfComplex'; load. ((Smalltalk at: #ConfigurationOfComplex) project version: #'stable') perform: #load. Nicolas Le 24 mars 2012 21:29, Stéphane Ducasse <stephane.ducasse@inria.fr> a écrit :
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.
Stef
L.
Le 25 mars 2012 12:17, Nicolas Cellier <nicolas.cellier.aka.nice@gmail.com>a écrit :
Oops, it was http://www.squeaksource.com/Complex
Gofer new squeaksource: 'MetacelloRepository'; package: 'ConfigurationOfComplex'; load. ((Smalltalk at: #ConfigurationOfComplex) project version: #'stable') perform: #load.
Nicolas
Le 24 mars 2012 21:29, Stéphane Ducasse <stephane.ducasse@inria.fr> a écrit :
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.
Stef
L.
participants (4)
-
Lawson English -
Nicolas Cellier -
Schwab,Wilhelm K -
Stéphane Ducasse