[issue25984] Expose a simple "is IEEE 754" flag in sys.float_info

2016-01-01 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +eric.smith, lemburg, mark.dickinson, stutzbach ___ Python tracker ___ ___ Python-bugs-list maili

[issue25984] Expose a simple "is IEEE 754" flag in sys.float_info

2015-12-31 Thread random832
Changes by random832 : -- components: +Library (Lib) type: -> enhancement versions: +Python 3.6 ___ Python tracker ___ ___ Python-bug

[issue25984] Expose a simple "is IEEE 754" flag in sys.float_info

2015-12-31 Thread random832
New submission from random832: I think it would be useful for programs to be able to detect whether a system uses IEEE-754 double-precision values for the 'float' type. There is lots of detailed information about the float type in sys.float_info, but no simple "is IEEE" flag. On some C impleme