Q: What is the difference between a neurotic and a psychotic?
A: A psychotic really thinks 2+2 = 5
A neurotic knows 2+2 = 4, but just can't stand it. ;^)
I really can't stand some of the oddities of Complex numbers in Squeak
[Note Mantis bug 311 -- http://bugs.squeak.org/view.php?id=3311].
I
1, 2009 6:50 PM
To: pharo-project@lists.gforge.inria.fr
Subject: [Pharo-project] Complex neurotic
Q: What is the difference between a neurotic and a psychotic?
A: A psychotic really thinks 2+2 = 5
A neurotic knows 2+2 = 4, but just can't stand it. ;^)
I really can't stand some o
> AFAIK, one has to be careful ordering complex numbers:
I am aware of this. There are a large number of ways to define #< for complex
numbers -- and a large number of problems with each of them.
What I object to are bad behaviors for things which are perfectly well
defined.
Currently:
-1 a
.fr
Subject: Re: [Pharo-project] Complex neurotic
> AFAIK, one has to be careful ordering complex numbers:
I am aware of this. There are a large number of ways to define #< for complex
numbers -- and a large number of problems with each of them.
What I object to are bad behaviors for thi
Hi guys
What I would love is the following: that we get a good Complex package!
Since we can do method extensions in Smalltalk we can design a really
nice Complex
packages with its own tests.
We could publish for now Complex into PharoTaskForces or create a
PharoExternalPackages
or whatever.
W
2009/8/12 Ken.Dickey :
>> AFAIK, one has to be careful ordering complex numbers:
>
> I am aware of this. There are a large number of ways to define #< for complex
> numbers -- and a large number of problems with each of them.
>
> What I object to are bad behaviors for things which are perfectly we
Wednesday, August 12, 2009 3:16 AM
To: Pharo-project@lists.gforge.inria.fr
Subject: Re: [Pharo-project] Complex neurotic
2009/8/12 Ken.Dickey :
>> AFAIK, one has to be careful ordering complex numbers:
>
> I am aware of this. There are a large number of ways to define #< for
> co
St?phane Ducasse
> What I would love is the following: that we get a good Complex package!
> Since we can do method extensions in Smalltalk we can design a really
> nice Complex > packages with its own tests.
> We could publish for now Complex into PharoTaskForces or create a
> PharoExternalPacka
[mailto:pharo-project-boun...@lists.gforge.inria.fr] On Behalf Of Ken.Dickey
Sent: Wednesday, August 12, 2009 9:59 AM
To: Pharo-project@lists.gforge.inria.fr
Subject: Re: [Pharo-project] Complex neurotic
St?phane Ducasse
> What I would love is the following: that we get a good Complex pack
KenD> > Currently:
> >
> > -1 asComplex isNumber --> true
> > ?1 asComplex isNumber -> true
> > -1 asComplex < 1 asComplex --> error
> >
> > -4 sqrt --> error
Igor Stasenko >
> and it should.
> Not many people using a complex numbers. And -4 is an integer number,
> not complex number (i hope this
Subject: Re: [Pharo-project] Complex neurotic
KenD> > Currently:
> >
> > -1 asComplex isNumber --> true
> > ?1 asComplex isNumber -> true
> > -1 asComplex < 1 asComplex --> error
> >
> > -4 sqrt --> error
Igor Stasenko >
> and it should.
Em 11/08/2009 23:45, Ken.Dickey escreveu:
> > AFAIK, one has to be careful ordering complex numbers:
>
> I am aware of this. There are a large number of ways to define < for complex
>
> numbers -- and a large number of problems with each of them.
>
> What I object to are bad behaviors for
+1 Em 12/08/2009 12:10, Schwab,Wilhelm K < bsch...@anest.ufl.edu > escreveu:
Ken,The desired behavior appears to be that -1 sqrt raises an error regardless of the complex package; -1 asComplex sqrt works when the package is installed. Sig, is that a fair statement of your position?Bill -Origin
I don't want to seem I turned the rant mode, on, but:
Last statement makes so little sense as saying the "expected" thing is that
4 sqrt
should return a tuple #(2.0 -2.0) because it happened before we had computers
The "Principle of Least Surprise" should be taken in the context of the Smalltal
st 12, 2009 9:59 AM
> To: Pharo-project@lists.gforge.inria.fr
> Subject: Re: [Pharo-project] Complex neurotic
>
>
> St?phane Ducasse
>> What I would love is the following: that we get a good Complex package!
>> Since we can do method extensions in Smalltalk we can design a really
15 matches
Mail list logo