[issue3167] math test fails on Solaris 10
Mark Dickinson
report at bugs.python.org
Tue Jun 24 22:17:24 CEST 2008
Mark Dickinson <dickinsm at gmail.com> added the comment:
On Mon, Jun 23, 2008 at 5:25 PM, Jean Brouwers <report at bugs.python.org>
wrote:
> result is different for 32- and 64-bit
>
> > cc -xtarget=native log_inf.c -lm ; a.out
> -Inf 33
> Inf 33
>
That 33 for the second log call may just be the propagated errno value
from the first call. Could you try setting errno = 0 before each of the
printf
calls? I'd expect that log(HUGE_VAL) doesn't set errno at all.
Mark
Added file: http://bugs.python.org/file10722/unnamed
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3167>
_______________________________________
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: unnamed
URL: <http://mail.python.org/pipermail/python-bugs-list/attachments/20080624/665c65c0/attachment-0001.txt>
More information about the Python-bugs-list
mailing list