[Python-Dev] [Python-checkins] r64424 - inpython/trunk:Include/object.h Lib/test/test_sys.pyMisc/NEWSObjects/intobject.c Objects/longobject.cObjects/typeobject.cPython/bltinmodule.c

Raymond Hettinger python at rcn.com
Sun Jun 29 01:46:46 CEST 2008


From: "Mark Dickinson" <dickinsm at gmail.com>
> There's one other major difference between the C99 notation and the
> current patch:  the C99 notation includes a (hexa)decimal point.  The
> advantages of this include:
> 
> - the exponent gives a rough idea of the magnitude of the number, and
> - the exponent doesn't vary with changes to the least significant bits
>   of the float.

Is everyone agreed on a tohex/fromhex pair using the C99 notation as recommended in 754R?

Are you thinking of math module functions or as a method and classmethod on floats?


Raymond


More information about the Python-Dev mailing list