| 104 | } |
| 105 | |
| 106 | static npy_uint32 |
| 107 | LogBase2_64(npy_uint64 val) |
| 108 | { |
| 109 | npy_uint64 temp; |
| 110 | |
| 111 | temp = val >> 32; |
| 112 | if (temp) { |
| 113 | return 32 + LogBase2_32((npy_uint32)temp); |
| 114 | } |
| 115 | |
| 116 | return LogBase2_32((npy_uint32)val); |
| 117 | } |
| 118 | |
| 119 | #if defined(HAVE_LDOUBLE_IEEE_QUAD_LE) || defined(HAVE_LDOUBLE_IEEE_QUAD_BE) |
| 120 | static npy_uint32 |
no test coverage detected