All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
fastmath.c File Reference

Approximation for pow, log and exp functions to avoid using stdlib. More...

#include <stdint.h>

Macros

#define cast_uint32_t   (uint32_t)
 

Detailed Description

Approximation for pow, log and exp functions to avoid using stdlib.

Inline functions to calculate pow, log and exp.
These are approximations but are good enough for lookup tables etc.

Macro Definition Documentation

#define cast_uint32_t   (uint32_t)