Re: Rationalize in Mathematica3 vs. Mathematica4
- To: mathgroup at smc.vnet.net
- Subject: [mg20249] Re: Rationalize in Mathematica3 vs. Mathematica4
- From: "Dana DeLouis" <dana2 at email.msn.com>
- Date: Fri, 8 Oct 1999 18:30:22 -0400
- References: <firstname.lastname@example.org>
- Sender: owner-wri-mathgroup at wolfram.com
I get the same results in Mathematica 4. I do not notice any documentation
Is this another problem?? Add just 1 more zero in the middle of your
then I get an exact answer of 3/5 !
If I add another 0 (or more) to the middle of your number, then It goes back
to giving rational answers.
Did you find a bug??
1351079888093186 / 2251799813488643
Gianluca Gorni <gorni at dimi.uniud.it> wrote in message
news:7t8cjs$gdr at smc.vnet.net...
> I have run Mathematica 4 on a program that I had tested with
> Mathematica 3, and I noticed funny outputs. I traced the
> problem to the function Rationalize, which seems
> to be different in the two version.
> With the following input
> In: Rationalize[0.6000000000000001`]
> Mathematica 3 gives
> Out: 3/5
> while Mathematica 4 gives
> Out: 1351079888093186/2251799813488643
> Is this change in behaviour intentional?
> To get the same result as before from my program
> I had to write Rationalize[x, .001] instead of
> Gianluca Gorni
> | mailto:gorni at dimi.uniud.it |
> | http://www.dimi.uniud.it/~gorni |
Prev by Date:
Re: Why Doesn't N[Pi,i] Give i Digits For Small i, Mathematica 4,on NT
Next by Date:
Re: simplifying expressions
Previous by thread:
Rationalize in Mathematica3 vs. Mathematica4
Next by thread:
text formatting headache