Message175122
Well, I suppose one could use a cascaded switch statement, starting with the
7th letter and then (in the case of HALF*) proceed with the 12th letter:
"ROUND_CEILING"
"ROUND_FLOOR"
"ROUND_UP"
"ROUND_DOWN"
"ROUND_HALF_UP"
"ROUND_HALF_DOWN"
"ROUND_HALF_EVEN"
"ROUND_05UP"
That should be as fast as PyLong_AsLong(). |
|
Date |
User |
Action |
Args |
2012-11-07 20:14:34 | skrah | set | recipients:
+ skrah, mark.dickinson, yselivanov |
2012-11-07 20:14:33 | skrah | link | issue16422 messages |
2012-11-07 20:14:33 | skrah | create | |
|