A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2006-August/068445.html below:

[Python-Dev] [Python-checkins] r51525 - in python/trunk:Lib/test/test_float.py Objects/floatobject.c

[Python-Dev] [Python-checkins] r51525 - in python/trunk:Lib/test/test_float.py Objects/floatobject.c [Python-Dev] [Python-checkins] r51525 - in python/trunk:Lib/test/test_float.py Objects/floatobject.cmartin at v.loewis.de martin at v.loewis.de
Thu Aug 24 00:13:55 CEST 2006
Zitat von Tim Peters <tim.peters at gmail.com>:

> Huh.  It's been a (mildly controversial, but intentional all the same)
> feature that Python tries to raise raise OverflowError on overflowing
> libm operations.  Doesn't work all that well, since   there's no
> consistency across platforms about when libm sets errno, or to what
> (when it does).

The other question is whether pow() is guaranteed to return inf
when it sets errno to ERANGE; I believe there is no such guarantee.

So I think the change should be reverted.

Regards,
Martin



More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4