[Python-ideas] Hexadecimal floating literals

Rob Cliffe rob.cliffe at btinternet.com
Fri Sep 22 03:41:52 EDT 2017



On 22/09/2017 02:32, Steven D'Aprano wrote:
>
> Are there actually any Python implementations or builds which have
> floats not equal to 64 bits? If not, perhaps it is time to make 64 bit
> floats a language guarantee.
>
>
>
This will be unfortunate when Intel bring out a processor with 256-bit 
floats (or by "64 bit" do you mean "at least 64 bit"?).  Hm, is there an 
analog of Moore's law that says the number of floating-point bits 
doubles every X years? :-)

Unrelated thought:  Users might be unsure if the exponent in a 
hexadecimal float is in decimal or in hex.

Rob Cliffe


More information about the Python-ideas mailing list