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 slmnhq
Recipients mark.dickinson, slmnhq
Date 2009-12-24.17:38:35
SpamBayes Score 1.4189301e-09
Marked as misclassified No
Message-id <1261676317.1.0.216316197152.issue7575@psf.upfronthosting.co.za>
In-reply-to
Content
Only the argument with one decimal place precision does NOT overflow.

Python 2.7a1+ (trunk:76872, Dec 21 2009, 09:54:29) 
[GCC 4.0.1 (Apple Computer, Inc. build 5370)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from math import expm1
>>> expm1(709.78271289338397)     
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
OverflowError: math range error
>>> expm1(709.782712893)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
OverflowError: math range error
>>> expm1(709.7827)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
OverflowError: math range error
>>> expm1(709.782)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
OverflowError: math range error
>>> expm1(709.78)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
OverflowError: math range error
>>> expm1(709.7)
1.6549840276802644e+308
History
Date User Action Args
2009-12-24 17:38:37slmnhqsetrecipients: + slmnhq, mark.dickinson
2009-12-24 17:38:37slmnhqsetmessageid: <1261676317.1.0.216316197152.issue7575@psf.upfronthosting.co.za>
2009-12-24 17:38:35slmnhqlinkissue7575 messages
2009-12-24 17:38:35slmnhqcreate