[PLUG] Unexpected math result

Richard C. Steffens rsteff at comcast.net
Wed Dec 21 21:37:07 UTC 2011


On 12/21/2011 01:33 PM, Tim wrote:
>> What languages use that, or something giving non-floating
>> point results these days?
> I haven't had to use such things for a long time, but Scheme has a
> data type for floating point and another data type for exact numbers.
> Python's documentation has a good explanation of the issue and makes
> the "decimal" and "fractions" modules available to do more exact
> calculations.  See:
>    http://docs.python.org/release/3.1.3/tutorial/floatingpoint.html

Thanks.

-- 
Regards,

Dick Steffens





More information about the PLUG mailing list