MCPcopy Create free account
hub / github.com/numpy/numpy / LogBase2_128

Function LogBase2_128

numpy/core/src/multiarray/dragon4.c:120–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118
119#if defined(HAVE_LDOUBLE_IEEE_QUAD_LE) || defined(HAVE_LDOUBLE_IEEE_QUAD_BE)
120static npy_uint32
121LogBase2_128(npy_uint64 hi, npy_uint64 lo)
122{
123 if (hi) {
124 return 64 + LogBase2_64(hi);
125 }
126
127 return LogBase2_64(lo);
128}
129#endif /* HAVE_LDOUBLE_IEEE_QUAD_LE */
130
131/*

Callers 1

Calls 1

LogBase2_64Function · 0.85

Tested by

no test coverage detected