Strange behaviour with numbers in exponential notation

MRAB python at mrabarnett.plus.com
Fri Sep 2 16:45:25 EDT 2016


On 2016-09-02 20:47, Random832 wrote:
> On Fri, Sep 2, 2016, at 15:12, Christian Gollwitzer wrote:
>> Tradition? All languages I know of treat a number with an exponent as
>> floating point.
>
> Scheme does allow you to give integers (and rationals) in decimal and/or
> exponential notation with the "#e" prefix.
>
In Ada, integers can have an exponent, provided that it's non-negative.




More information about the Python-list mailing list