forpy  2
exponentials.h File Reference
#include <cmath>
#include "../global.h"

Go to the source code of this file.

Namespaces

 forpy
 

Macros

#define FORPY_UTIL_EXPONENTIALS_H_
 

Functions

int forpy::ipow (int base, unsigned int exp)
 Computes an int power by an int. More...
 
float forpy::fpowi (float base, unsigned int exp)
 Computes a float power by an unsigned int. More...
 

Variables

static const double forpy::D_PI = 4. * atan(1.)
 
static const float forpy::TWO_PI = static_cast<float>(2. * D_PI)
 
static const float forpy::TWO_PI_E = TWO_PI * expf(1.f)
 

Macro Definition Documentation

◆ FORPY_UTIL_EXPONENTIALS_H_

#define FORPY_UTIL_EXPONENTIALS_H_

Definition at line 4 of file exponentials.h.