[docs] [issue12245] Document the meaning of FLT_ROUNDS constants for sys.float_info

Mark Dickinson report at bugs.python.org
Sat Jun 25 11:25:52 CEST 2011


Mark Dickinson <dickinsm at gmail.com> added the comment:

> all it does is give information about the FPU settings at the time that
> Python was compiled

Hmm.  It's actually a bit better than that:  as far as I can tell, it reflects the value of FLT_ROUNDS at the time that Python is started (when the sys module is initialized).  OTOH, FLT_ROUNDS on my machine is #define'd to be 1, in violation of the C standards.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12245>
_______________________________________


More information about the docs mailing list