[issue13889] str(float) and round(float) issues with FPU precision

Samuel Iseli report at bugs.python.org
Sun Jan 29 22:57:19 CET 2012


Samuel Iseli <samuel.iseli at gmail.com> added the comment:

Hi Marc, the changes to the pythoncore.vcproj Visual-Studio file define the HAVE_VC_FUNC_FOR_X87 symbol. I use this symbol to enable the precision-setting macros in pyport.h. I made this similar to the existing code for gcc (linux).

You can change this but currently this symbol has to be defined somewhere for the macros to have an effect.

----------

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


More information about the Python-bugs-list mailing list