homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author skrah
Recipients drkirkby, mark.dickinson, skrah
Date 2010年06月25日.22:27:29
SpamBayes Score 0.0001888573
Marked as misclassified No
Message-id <1277504852.44.0.541936449531.issue9069@psf.upfronthosting.co.za>
In-reply-to
Content
Mark Dickinson <report@bugs.python.org> wrote:
> Now that I've finally managed to get gcc 4.4.4 installed on OpenSolaris...
>
> .. I'm still failing to reproduce this bug. :(
>
>
> dickinsm@eratosthenes:~/release26-maint$ uname -a
> SunOS eratosthenes 5.11 snv_134 i86pc i386 i86pc Solaris
> dickinsm@eratosthenes:~/release26-maint$ cat /etc/release
> OpenSolaris Development snv_134 X86
> Copyright 2010 Sun Microsystems, Inc. All Rights Reserved.
> Use is subject to license terms.
> Assembled 01 March 2010
> dickinsm@eratosthenes:~/release26-maint$ ./python
> Python 2.6.4 (release26-maint:75706, Jun 25 2010, 21:44:19)
> [GCC 4.4.4] on sunos5
> Type "help", "copyright", "credits" or "license" for more information.
> >>> float.hex(-0.0)
> '-0x0.0p+0'
> >>> import sys; sys.maxint
> 2147483647
>
> As far as I can tell, this setup is almost identical to David's 'hawk' machine (same gcc version, same OpenSolaris build, same Python source
+revision).
>
> I'm not really sure where I can go from here.
>
> Stefan, you're not able to reproduce this by any chance, are you?
No, I'm getting the same results as you (OpenSolaris/qemu/32-bit/gcc). I wonder
if it's somehow related to issue 7281, which was resolved by changing float_repr_style.
But as I said, I cannot reproduce it with either gcc or suncc. On the other hand,
who knows how the FPU is emulated in qemu.
The C standard is diplomatic as usual:
"On implementations that represent a signed zero but do not treat negative zero
 consistently in arithmetic operations, the copysign functions regard the sign
 of zero as positive."
David, one of your comments implied for me that you have managed to compile
Python with -std=c99. For me, this fails instantly. What options did you use?
History
Date User Action Args
2010年06月25日 22:27:33skrahsetrecipients: + skrah, mark.dickinson, drkirkby
2010年06月25日 22:27:32skrahsetmessageid: <1277504852.44.0.541936449531.issue9069@psf.upfronthosting.co.za>
2010年06月25日 22:27:30skrahlinkissue9069 messages
2010年06月25日 22:27:29skrahcreate

AltStyle によって変換されたページ (->オリジナル) /