commit | 5b8132ffa34244cc24b603d8462e6e733e014e71 | [log] [tgz] |
---|---|---|
author | Tim Peters <tim.peters@gmail.com> | Fri Jan 31 15:52:05 2003 +0000 |
committer | Tim Peters <tim.peters@gmail.com> | Fri Jan 31 15:52:05 2003 +0000 |
tree | 9ed5a901229b5dfef77b2f88ddf961f57a211f1a | |
parent | 89fc4f3e5623d24632b1daf503a2f32ac2bd0d66 [diff] |
_PyLong_NumBits(): The definition of this was too specific to the quirky needs of pickling longs. Backed off to a definition that's much easier to understand. The pickler will have to work a little harder, but other uses are more likely to be correct <0.5 wink>. _PyLong_Sign(): New teensy function to characterize a long, as to <0, ==0, or >0.