Builtin Float Epsilon? (was: Re: Does python suck or I am just stupid? )
Alexander Schmolck
a.schmolck at gmx.net
Sat Feb 22 20:52:04 EST 2003
Irmen de Jong <irmen at -NOSPAM-REMOVETHIS-xs4all.nl> writes:
>
> PS. is there a language (apart from the already mentioned ABC) that doesn't use
> the machine floating point datatype for floats?
>
scheme, at least optionally (the spec has exact floats (#e1.3 as opposed to
1.3), as well as inexact integers #i3).
in drscheme:
> (* 0.00000000001 100000000000000000)
999999.9999999999
> (* #e0.00000000001 100000000000000000)
1000000
alex
More information about the Python-list
mailing list