Message313107
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. |
|
Date |
User |
Action |
Args |
2018-03-01 19:01:43 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, tim.peters, mark.dickinson |
2018-03-01 19:01:43 | serhiy.storchaka | set | messageid: <1519930903.68.0.467229070634.issue32978@psf.upfronthosting.co.za> |
2018-03-01 19:01:43 | serhiy.storchaka | link | issue32978 messages |
2018-03-01 19:01:43 | serhiy.storchaka | create | |
|