[issue1580] Use shorter float repr when possible

Christian Heimes report at bugs.python.org
Tue Dec 11 03:51:08 CET 2007


Christian Heimes added the comment:

I've written a small C program for auto config that checks the
endianness of IEEE doubles. Neil has promised to add something to
configure.in when I come up with a small C program. It *should* do the
right thing on a BE platform but I can't test it.

Tim, does Python run on a non IEEE 754 platform? Should the new repr()
be ripped out? I hate to break Python for scientists just to silence
some ignorants and unexperienced newbies.

----------
nosy: +nascheme
Added file: http://bugs.python.org/file8920/ieee_dbl.c

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1580>
__________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ieee_dbl.c
Type: text/x-csrc
Size: 857 bytes
Desc: not available
Url : http://mail.python.org/pipermail/python-bugs-list/attachments/20071211/857975f6/attachment.c 


More information about the Python-bugs-list mailing list