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 serhiy.storchaka
Recipients mark.dickinson, serhiy.storchaka, tim.peters
Date 2018-03-01.19:01:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1519930903.68.0.467229070634.issue32978@psf.upfronthosting.co.za>
In-reply-to
Content
I'm fine with an OverflowError, but it looks inconsistent to me that for some huge values an OverflowError is not raised, but aifc._HUGE_VAL is returned instead. And I think that using math.ldexp() can be more preferable that pow(2.0, ...), especially for exponent around sys.float_info.max_exp and sys.float_info.min_exp.
History
Date User Action Args
2018-03-01 19:01:43serhiy.storchakasetrecipients: + serhiy.storchaka, tim.peters, mark.dickinson
2018-03-01 19:01:43serhiy.storchakasetmessageid: <1519930903.68.0.467229070634.issue32978@psf.upfronthosting.co.za>
2018-03-01 19:01:43serhiy.storchakalinkissue32978 messages
2018-03-01 19:01:43serhiy.storchakacreate