Marcos Donolo <mdon...@vt.edu> added the comment:
I will give it a shot.
On Thu, Dec 17, 2009 at 11:22 AM, Mark Dickinson <rep...@bugs.python.org>wrote:
>
> Mark Dickinson <dicki...@gmail.com> added the comment:
>
> Yep. There's not much consistency in inf/nan handling across platforms,
> though the situation is slowly getting better. math.pow makes an effort
> to handle these special cases correctly (for some value of correctly), and
> it would probably make some sense to have the builtin pow behave the same
> way.
>
> Would you be interested in contributing a fix?
>
> ----------
> stage: -> needs patch
>
> _______________________________________
> Python tracker <rep...@bugs.python.org>
> <http://bugs.python.org/issue7534>
> _______________________________________
>
----------
title: float('nan')**2 != nan. float('inf')**2 != inf. float('nan')**2 error
33 on windows -> float('nan')**2 != nan. float('nan')**2 error 33 on windows
Added file: http://bugs.python.org/file15584/unnamed
_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue7534>
_______________________________________
I will give it a shot.<br><br><div class="gmail_quote">On Thu, Dec 17, 2009 at
11:22 AM, Mark Dickinson <span dir="ltr"><<a
href="mailto:rep...@bugs.python.org">rep...@bugs.python.org</a>></span>
wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid
rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Mark Dickinson <<a
href="mailto:dicki...@gmail.com">dicki...@gmail.com</a>> added the
comment:<br>
<br>
Yep. Â There's not much consistency in inf/nan handling across
platforms,<br>
though the situation is slowly getting better. Â math.pow makes an effort<br>
to handle these special cases correctly (for some value of correctly), and<br>
it would probably make some sense to have the builtin pow behave the same<br>
way.<br>
<br>
Would you be interested in contributing a fix?<br>
<br>
----------<br>
stage: Â -> needs patch<br>
<div><div></div><div class="h5"><br>
_______________________________________<br>
Python tracker <<a
href="mailto:rep...@bugs.python.org">rep...@bugs.python.org</a>><br>
<<a href="http://bugs.python.org/issue7534"
target="_blank">http://bugs.python.org/issue7534</a>><br>
_______________________________________<br>
</div></div></blockquote></div><br>
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com