[Python-ideas] Hexadecimal floating literals
Serhiy Storchaka
storchaka at gmail.com
Fri Sep 8 02:57:44 EDT 2017
More information about the Python-ideas mailing list
Fri Sep 8 02:57:44 EDT 2017
- Previous message (by thread): [Python-ideas] Lazy creation of module level functions and classes
- Next message (by thread): [Python-ideas] Hexadecimal floating literals
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
The support of hexadecimal floating literals (like 0xC.68p+2) is
included in just released C++17 standard. Seems this becomes a mainstream.
In Python float.hex() returns hexadecimal string representation. Is it a
time to add more support of hexadecimal floating literals? Accept them
in float constructor and in Python parser? And maybe add support of
hexadecimal formatting ('%x' and '{:x}')?
- Previous message (by thread): [Python-ideas] Lazy creation of module level functions and classes
- Next message (by thread): [Python-ideas] Hexadecimal floating literals
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-ideas mailing list