[New-bugs-announce] [issue5781] Legacy float repr is used unnecessarily on some platforms

Mark Dickinson report at bugs.python.org
Fri Apr 17 15:16:18 CEST 2009


New submission from Mark Dickinson <dickinsm at gmail.com>:

The current defines in pyport.h mean that we don't use Gay's code
for short float repr if there's evidence of double rounding.

However, there's one situation where double rounding occurs and we can 
still use Gay's code: namely, when the configure script has worked out how 
to get and set the x87 control word.

The pyport.h code should be fixed so that we use Gay's code in that 
situation.

----------
assignee: marketdickinson
components: Interpreter Core
keywords: easy
messages: 86073
nosy: eric.smith, marketdickinson
priority: normal
severity: normal
stage: needs patch
status: open
title: Legacy float repr is used unnecessarily on some platforms
type: behavior
versions: Python 3.1

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


More information about the New-bugs-announce mailing list