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 rhettinger
Recipients fredrikj, loewis, rhettinger
Date 2008-07-24.21:39:56
SpamBayes Score 0.25514093
Marked as misclassified No
Message-id <1216935598.26.0.118628105023.issue3439@psf.upfronthosting.co.za>
In-reply-to
Content
Another reason to leave frexp() untouched  is that it is tightly 
coupled to ldexp() as its inverse, for a lossless roundtrip:

  assert ldexp(*frexp(pi)) == pi

This relationship is bound to get mucked-up or confused if frexp starts 
accepting large integers that are no exactly representable as floats 
(i.e. 2**100+1).
History
Date User Action Args
2008-07-24 21:39:58rhettingersetspambayes_score: 0.255141 -> 0.25514093
recipients: + rhettinger, loewis, fredrikj
2008-07-24 21:39:58rhettingersetspambayes_score: 0.255141 -> 0.255141
messageid: <1216935598.26.0.118628105023.issue3439@psf.upfronthosting.co.za>
2008-07-24 21:39:57rhettingerlinkissue3439 messages
2008-07-24 21:39:56rhettingercreate