Bill,
I have already said that I think IEEE floats tend to give the wrong answer
fast. Better solutions are hard to come by, however, as they definately depend
on the problem domain.
E.g. Apple's old plot program used interval arithmetic and did a great job
with functions like x * sin(1/x)
Em 30/08/2009 18:37, Schwab,Wilhelm K bsch...@anest.ufl.edu escreveu:
Let me see if I understand your point then: it
is OK in your view that we can do:
1i squared. retuning -1 + 0i so a Complex, but
(1i squared) sqrt. raises an error?
You
-
From: pharo-project-boun...@lists.gforge.inria.fr
[mailto:pharo-project-boun...@lists.gforge.inria.fr] On Behalf Of Ken Dickey
Sent: Saturday, August 29, 2009 3:43 PM
To: Pharo-project@lists.gforge.inria.fr
Subject: [Pharo-project] Complex Solutions
From: Schwab,Wilhelm K bsch...@anest.ufl.edu
...
I
...@lists.gforge.inria.fr] On Behalf Of
csra...@bol.com.br
Sent: Sunday, August 30, 2009 4:27 PM
To: Pharo-project@lists.gforge.inria.fr
Subject: Re: [Pharo-project] Complex Solutions
Em 30/08/2009 13:36, Schwab,Wilhelm K bsch...@anest.ufl.edu
escreveu:
Ken,
On #cosH vs. #cosh
From: Schwab,Wilhelm K bsch...@anest.ufl.edu
...
On #cosH vs. #cosh, etc.,I do not like what you have done, but it's hardly
cause to start a war. I would be more inclined to agree with your no-typo
argument if you spelled out hyperbolic. We write cos and cosh; I see no
advantage to typing
-Original Message-
From: pharo-project-boun...@lists.gforge.inria.fr
[mailto:pharo-project-boun...@lists.gforge.inria.fr] On Behalf Of Ken Dickey
Sent: Sunday, August 30, 2009 6:10 PM
To: Pharo-project@lists.gforge.inria.fr
Subject: Re: [Pharo-project] Complex Solutions
From: Schwab,Wilhelm K
I have updated PharoInbox with a newer slice:
SLICE-basic-Complex-KenDickey.3
Float hyperbolic trig methods no longer return Complex answers.
Renamed: #angle - #argument, #magnitude -# modulus.
Added more unit tests.
Thanks again for suggestions,
-KenD
From: Schwab,Wilhelm K bsch...@anest.ufl.edu
...
I have not been over all of it, but I have found that RealarcCosH and
#arcTanH can answer a Complex. I would rather not have to say it, but I do
not get the sense that you have taken our concerns seriously. We want the
errors from Float when