[Python-Dev] [Python-checkins] r64424 - in python/trunk:Include/object.h Lib/test/test_sys.py Misc/NEWSObjects/intobject.c Objects/longobject.c Objects/typeobject.cPython/bltinmodule.c
dickinsm at gmail.com
Thu Jun 26 22:55:54 CEST 2008
On Thu, Jun 26, 2008 at 9:28 PM, Guido van Rossum <guido at python.org> wrote:
> Can you show us what APIs and output formats C99 and Java support?
> Maybe we can borrow something from there rather than reinventing the
Java's toHexString method is documented at:
It's disadvantage from Python's point of view is that some features are IEEE
specific (e.g. treatment of subnormals, which don't exist for most other
C99s support for hex literals uses a similar format; the standard is less
specific about the precise output format, but it's still of the form
Incidentally, the funny 'p' for the exponent instead of 'e' is apparently
there to avoid ambiguity in something like:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-Dev