[issue3166] Make conversions from long to float correctly rounded.

Alexander Belopolsky report at bugs.python.org
Tue Dec 9 17:12:04 CET 2008


Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:

On Tue, Dec 9, 2008 at 11:02 AM, Mark Dickinson <report at bugs.python.org> wrote:
...
> If your Intel machine is Pentium 4 or newer, you can get
> around this by using the SSE2 extensions, which work with 64-bit doubles
> throughout.  I don't remember offhand precisely which gcc flags you need
> for this.

The flags you may be looking for are -msse2 -mfpmath=sse

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


More information about the Python-bugs-list mailing list