OpenWareLaboratory
|
Go to the source code of this file.
Functions | |
float | powFastLookup (const float val, const float ilog2, const uint32_t *pTable, const uint32_t precision) |
Get pow (fast!). More... | |
void | powFastSetTable (uint32_t *const pTable, const uint32_t precision) |
float powFastLookup | ( | const float | val, |
const float | ilog2, | ||
const uint32_t * | pTable, | ||
const uint32_t | precision | ||
) |
Get pow (fast!).
@val power to raise radix to @ilog2 one over log, to required radix, of two @pTable length must be 2 ^ precision @precision number of mantissa bits used, >= 0 and <= 18
Definition at line 45 of file fastpow.c.
References _2p23.
Referenced by fast_exp10f(), fast_exp2f(), fast_expf(), and fast_powf().