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 dtorp
Recipients dtorp
Date 2011-05-01.03:05:21
SpamBayes Score 0.07582345
Marked as misclassified No
Message-id <1304219122.96.0.441741571719.issue11967@psf.upfronthosting.co.za>
In-reply-to
Content
I would like to left and right shift floats as a fast way to multiply or divide by a power of 2 without rounding error.  The only way to do that now is t=frexp(x) and y=ldexp(t[0],t[1]+2).  But would be better to type y=x<<2.  Thank you.
History
Date User Action Args
2011-05-01 03:05:23dtorpsetrecipients: + dtorp
2011-05-01 03:05:22dtorpsetmessageid: <1304219122.96.0.441741571719.issue11967@psf.upfronthosting.co.za>
2011-05-01 03:05:21dtorplinkissue11967 messages
2011-05-01 03:05:21dtorpcreate