Rosetta Utilities  2014.35
Macros | Functions
fast_math.hh File Reference
#include <stdint.h>
#include <math.h>

Macros

#define __FAST_EXP_H_
 
#define __FAST_LOG_H_
 
#define __FAST_ERF_H_
 
#define __FAST_GAMMA_H_
 
#define __FAST_HYPERBOLIC_H_
 
#define __FAST_LAMBERT_W_H_
 
#define __FAST_POW_H_
 
#define __FAST_SIGMOID_H_
 
#define __FAST_TRIG_H_
 

Functions

static float fastpow2 (float p)
 
static float fastexp (float p)
 
static float fasterpow2 (float p)
 
static float fasterexp (float p)
 
static float fastlog2 (float x)
 
static float fastlog (float x)
 
static float fasterlog2 (float x)
 
static float fasterlog (float x)
 
static float fasterfc (float x)
 
static float fastererfc (float x)
 
static float fasterf (float x)
 
static float fastererf (float x)
 
static float fastinverseerf (float x)
 
static float fasterinverseerf (float x)
 
static float fastlgamma (float x)
 
static float fasterlgamma (float x)
 
static float fastdigamma (float x)
 
static float fasterdigamma (float x)
 
static float fastsinh (float p)
 
static float fastersinh (float p)
 
static float fastcosh (float p)
 
static float fastercosh (float p)
 
static float fasttanh (float p)
 
static float fastertanh (float p)
 
static float fastlambertw (float x)
 
static float fasterlambertw (float x)
 
static float fastlambertwexpx (float x)
 
static float fasterlambertwexpx (float x)
 
static float fastpow (float x, float p)
 
static float fasterpow (float x, float p)
 
static float fastsigmoid (float x)
 
static float fastersigmoid (float x)
 
static float fastsin (float x)
 
static float fastersin (float x)
 
static float fastsinfull (float x)
 
static float fastersinfull (float x)
 
static float fastcos (float x)
 
static float fastercos (float x)
 
static float fastcosfull (float x)
 
static float fastercosfull (float x)
 
static float fasttan (float x)
 
static float fastertan (float x)
 
static float fasttanfull (float x)
 
static float fastertanfull (float x)
 

Macro Definition Documentation

#define __FAST_ERF_H_
#define __FAST_EXP_H_
#define __FAST_GAMMA_H_
#define __FAST_HYPERBOLIC_H_
#define __FAST_LAMBERT_W_H_
#define __FAST_LOG_H_
#define __FAST_POW_H_
#define __FAST_SIGMOID_H_
#define __FAST_TRIG_H_

Function Documentation

static float fastcos ( float  x)
inlinestatic

References fastsin().

Referenced by fasttanfull().

static float fastcosfull ( float  x)
inlinestatic

References fastsinfull().

static float fastcosh ( float  p)
inlinestatic

References fastexp().

static float fastdigamma ( float  x)
inlinestatic

References fastlog().

static float fastercos ( float  x)
inlinestatic

Referenced by fastertan(), and fastertanfull().

static float fastercosfull ( float  x)
inlinestatic

References fastersinfull().

static float fastercosh ( float  p)
inlinestatic

References fasterexp().

static float fasterdigamma ( float  x)
inlinestatic

References fasterlog().

static float fastererf ( float  x)
inlinestatic

References fastererfc().

static float fastererfc ( float  x)
inlinestatic

References fasterpow2().

Referenced by fastererf().

static float fasterexp ( float  p)
inlinestatic
static float fasterf ( float  x)
inlinestatic

References fasterfc().

static float fasterfc ( float  x)
inlinestatic

References fasterpow2(), and fastpow2().

Referenced by fasterf().

static float fasterinverseerf ( float  x)
inlinestatic

References fasterlog2().

static float fasterlambertw ( float  x)
inlinestatic
static float fasterlambertwexpx ( float  x)
inlinestatic

References fasterlog(), fasterpow2(), and max().

static float fasterlgamma ( float  x)
inlinestatic

References fasterlog().

static float fasterlog ( float  x)
inlinestatic
static float fasterlog2 ( float  x)
inlinestatic

Referenced by fasterinverseerf(), and fasterpow().

static float fasterpow ( float  x,
float  p 
)
inlinestatic

References fasterlog2(), and fasterpow2().

static float fasterpow2 ( float  p)
inlinestatic
static float fastersigmoid ( float  x)
inlinestatic

References fasterexp().

static float fastersin ( float  x)
inlinestatic

References numeric::sign().

Referenced by fastersinfull(), fastertan(), and fastertanfull().

static float fastersinfull ( float  x)
inlinestatic

References fastersin().

Referenced by fastercosfull().

static float fastersinh ( float  p)
inlinestatic

References fasterexp().

static float fastertan ( float  x)
inlinestatic

References fastercos(), and fastersin().

static float fastertanfull ( float  x)
inlinestatic

References fastercos(), and fastersin().

static float fastertanh ( float  p)
inlinestatic

References fasterexp().

static float fastexp ( float  p)
inlinestatic
static float fastinverseerf ( float  x)
inlinestatic

References fastlog2().

static float fastlambertw ( float  x)
inlinestatic
static float fastlambertwexpx ( float  x)
inlinestatic
static float fastlgamma ( float  x)
inlinestatic

References fastlog().

static float fastlog ( float  x)
inlinestatic
static float fastlog2 ( float  x)
inlinestatic

Referenced by fastinverseerf(), fastlog(), and fastpow().

static float fastpow ( float  x,
float  p 
)
inlinestatic

References fastlog2(), and fastpow2().

static float fastpow2 ( float  p)
inlinestatic

References numeric::statistics::w().

Referenced by fasterfc(), fastexp(), and fastpow().

static float fastsigmoid ( float  x)
inlinestatic

References fastexp().

static float fastsin ( float  x)
inlinestatic
static float fastsinfull ( float  x)
inlinestatic

References fastsin().

Referenced by fastcosfull().

static float fastsinh ( float  p)
inlinestatic

References fastexp().

static float fasttan ( float  x)
inlinestatic

References fastsin().

static float fasttanfull ( float  x)
inlinestatic

References fastcos(), and fastsin().

static float fasttanh ( float  p)
inlinestatic

References fastexp().