[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 (original) (raw)

Alex Martelli aleaxit at gmail.com
Sun Jun 29 04:12:49 CEST 2008


On Sat, Jun 28, 2008 at 4:46 PM, Raymond Hettinger <python at rcn.com> wrote:

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?

Dunno about everyone, but I'm +1 on that.

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

I'd prefer math modules functions.

Alex



More information about the Python-Dev mailing list