[Maxima] Rationalize etc.
raymond.toy at ericsson.com
Fri Dec 12 08:57:02 CST 2008
>>>>> "Stavros" == Stavros Macrakis <macrakis at alum.mit.edu> writes:
Stavros> On Tue, Dec 9, 2008 at 9:21 AM, Raymond Toy <raymond.toy at ericsson.com>wrote:
Stavros> ...I compared its results to results from cf(rationalize(...)),
>> which are the exact answers. A little experimentation
>> Note that maxima's rationalize doesn't call ration1.
Stavros> Exactly. Rationalize(.23) and rat(.23) are two different things -- by
Stavros> design. Rationalize is the exact binary fraction corresponding to a
Stavros> floating-point number, whereas rat is the simplest rational within
Stavros> ratepsilon of the argument.
Oh. I was confused on what you were testing. This makes sense to me
More information about the Maxima