Message362918
(venv_3_9) marco@buzz:~/sources/python-frozendict$ python
Python 3.9.0a0 (heads/master-dirty:d8ca2354ed, Oct 30 2019, 20:25:01)
[GCC 9.2.1 20190909] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> a = 1E9
>>> type(a)
<class 'float'>
IMHO if the exponent is positive, and the "base number" (1 in the example) is an integer, the result should be an integer.
Optionally, also if the "base number" has a number of decimal places <= the exponent, the result should be an integer. Example:
1.25E2 == 125
If the user wants a float, it can write
1.2500E2 == 125.0 |
|
Date |
User |
Action |
Args |
2020-02-28 21:36:04 | Marco Sulla | set | recipients:
+ Marco Sulla |
2020-02-28 21:36:04 | Marco Sulla | set | messageid: <1582925764.06.0.47669700025.issue39788@roundup.psfhosted.org> |
2020-02-28 21:36:04 | Marco Sulla | link | issue39788 messages |
2020-02-28 21:36:03 | Marco Sulla | create | |
|