- 01 Sep, 2004 3 commits
-
-
Tim Peters authored
-
Raymond Hettinger authored
(Contributed by Dima Dorfman)
-
Fred Drake authored
- wrap long line
-
- 31 Aug, 2004 35 commits
-
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Tim Peters authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Vinay Sajip authored
-
Anthony Baxter authored
"from blah import (foo, bar baz, bongo)"
-
Anthony Baxter authored
-
Martin v. Löwis authored
-
Tim Peters authored
ldexp. Both methods are exact, and return the same results. Turns out multiplication is a few (but just a few) percent faster on my box. They're both significantly faster than using struct with a Q format to convert bytes to a 64-bit long (struct.unpack() appears to lose due to the tuple creation/teardown overhead), and calling _hexlify is significantly faster than doing bytes.encode('hex'). So we appear to have hit a local minimum (wrt speed) here.
-
Raymond Hettinger authored
components without division and without roundoff error for properly sized mantissas (i.e. on systems with 53 or more mantissa bits per float). Eliminates the previous implementation's rounding bias as aptly demonstrated by Tim Peters.
-
- 30 Aug, 2004 2 commits
-
-
Tim Peters authored
-
Tim Peters authored
-