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 mark.dickinson
Recipients MrJean1, mark.dickinson
Date 2008-06-24.20:17:23
SpamBayes Score 0.0011924182
Marked as misclassified No
Message-id <[email protected]>
In-reply-to <[email protected]>
Content
On Mon, Jun 23, 2008 at 5:25 PM, Jean Brouwers <[email protected]>
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
Files
File name Uploaded
unnamed mark.dickinson, 2008-06-24.20:17:09
History
Date User Action Args
2008-06-24 20:17:25mark.dickinsonsetspambayes_score: 0.00119242 -> 0.0011924182
recipients: + mark.dickinson, MrJean1
2008-06-24 20:17:23mark.dickinsonlinkissue3167 messages
2008-06-24 20:17:23mark.dickinsoncreate