Embedded Artistry Framework
Embedded Systems C++ Framework
Functions | Variables
e_lgamma_r.c File Reference
#include "cdefs-compat.h"
#include <openlibm_math.h>
#include "math_private.h"
Include dependency graph for e_lgamma_r.c:

Functions

static double sin_pi (double x)
 
OLM_DLLEXPORT double __ieee754_lgamma_r (double x, int *signgamp)
 

Variables

static const double two52 = 4.50359962737049600000e+15
 
static const double half = 5.00000000000000000000e-01
 
static const double one = 1.00000000000000000000e+00
 
static const double pi = 3.14159265358979311600e+00
 
static const double a0 = 7.72156649015328655494e-02
 
static const double a1 = 3.22467033424113591611e-01
 
static const double a2 = 6.73523010531292681824e-02
 
static const double a3 = 2.05808084325167332806e-02
 
static const double a4 = 7.38555086081402883957e-03
 
static const double a5 = 2.89051383673415629091e-03
 
static const double a6 = 1.19270763183362067845e-03
 
static const double a7 = 5.10069792153511336608e-04
 
static const double a8 = 2.20862790713908385557e-04
 
static const double a9 = 1.08011567247583939954e-04
 
static const double a10 = 2.52144565451257326939e-05
 
static const double a11 = 4.48640949618915160150e-05
 
static const double tc = 1.46163214496836224576e+00
 
static const double tf = -1.21486290535849611461e-01
 
static const double tt = -3.63867699703950536541e-18
 
static const double t0 = 4.83836122723810047042e-01
 
static const double t1 = -1.47587722994593911752e-01
 
static const double t2 = 6.46249402391333854778e-02
 
static const double t3 = -3.27885410759859649565e-02
 
static const double t4 = 1.79706750811820387126e-02
 
static const double t5 = -1.03142241298341437450e-02
 
static const double t6 = 6.10053870246291332635e-03
 
static const double t7 = -3.68452016781138256760e-03
 
static const double t8 = 2.25964780900612472250e-03
 
static const double t9 = -1.40346469989232843813e-03
 
static const double t10 = 8.81081882437654011382e-04
 
static const double t11 = -5.38595305356740546715e-04
 
static const double t12 = 3.15632070903625950361e-04
 
static const double t13 = -3.12754168375120860518e-04
 
static const double t14 = 3.35529192635519073543e-04
 
static const double u0 = -7.72156649015328655494e-02
 
static const double u1 = 6.32827064025093366517e-01
 
static const double u2 = 1.45492250137234768737e+00
 
static const double u3 = 9.77717527963372745603e-01
 
static const double u4 = 2.28963728064692451092e-01
 
static const double u5 = 1.33810918536787660377e-02
 
static const double v1 = 2.45597793713041134822e+00
 
static const double v2 = 2.12848976379893395361e+00
 
static const double v3 = 7.69285150456672783825e-01
 
static const double v4 = 1.04222645593369134254e-01
 
static const double v5 = 3.21709242282423911810e-03
 
static const double s0 = -7.72156649015328655494e-02
 
static const double s1 = 2.14982415960608852501e-01
 
static const double s2 = 3.25778796408930981787e-01
 
static const double s3 = 1.46350472652464452805e-01
 
static const double s4 = 2.66422703033638609560e-02
 
static const double s5 = 1.84028451407337715652e-03
 
static const double s6 = 3.19475326584100867617e-05
 
static const double r1 = 1.39200533467621045958e+00
 
static const double r2 = 7.21935547567138069525e-01
 
static const double r3 = 1.71933865632803078993e-01
 
static const double r4 = 1.86459191715652901344e-02
 
static const double r5 = 7.77942496381893596434e-04
 
static const double r6 = 7.32668430744625636189e-06
 
static const double w0 = 4.18938533204672725052e-01
 
static const double w1 = 8.33333333333329678849e-02
 
static const double w2 = -2.77777777728775536470e-03
 
static const double w3 = 7.93650558643019558500e-04
 
static const double w4 = -5.95187557450339963135e-04
 
static const double w5 = 8.36339918996282139126e-04
 
static const double w6 = -1.63092934096575273989e-03
 
static const double zero = 0.00000000000000000000e+00
 

Function Documentation

◆ __ieee754_lgamma_r()

OLM_DLLEXPORT double __ieee754_lgamma_r ( double  x,
int *  signgamp 
)

References __ieee754_log(), a0, a1, a10, a11, a2, a3, a4, a5, a6, a7, a8, a9, EXTRACT_WORDS, fabs(), half, one, p, p1, p2, p3, pi, r, r1, r2, r3, r4, r5, r6, s0, s1, s2, s3, s4, s5, s6, sin_pi(), t, t0, t1, t10, t11, t12, t13, t14, t2, t3, t4, t5, t6, t7, t8, t9, tc, tf, tt, u0, u1, u2, u3, u4, u5, v1, v2, v3, v4, v5, w, w0, w1, w2, w3, w4, w5, w6, z, and zero.

Referenced by __ieee754_lgamma().

◆ sin_pi()

static double sin_pi ( double  x)
static

Variable Documentation

◆ a0

const double a0 = 7.72156649015328655494e-02
static

Referenced by __ieee754_lgamma_r().

◆ a1

const double a1 = 3.22467033424113591611e-01
static

Referenced by __ieee754_lgamma_r().

◆ a10

const double a10 = 2.52144565451257326939e-05
static

Referenced by __ieee754_lgamma_r().

◆ a11

const double a11 = 4.48640949618915160150e-05
static

Referenced by __ieee754_lgamma_r().

◆ a2

const double a2 = 6.73523010531292681824e-02
static

Referenced by __ieee754_lgamma_r().

◆ a3

const double a3 = 2.05808084325167332806e-02
static

Referenced by __ieee754_lgamma_r().

◆ a4

const double a4 = 7.38555086081402883957e-03
static

Referenced by __ieee754_lgamma_r().

◆ a5

const double a5 = 2.89051383673415629091e-03
static

Referenced by __ieee754_lgamma_r().

◆ a6

const double a6 = 1.19270763183362067845e-03
static

Referenced by __ieee754_lgamma_r().

◆ a7

const double a7 = 5.10069792153511336608e-04
static

Referenced by __ieee754_lgamma_r().

◆ a8

const double a8 = 2.20862790713908385557e-04
static

Referenced by __ieee754_lgamma_r().

◆ a9

const double a9 = 1.08011567247583939954e-04
static

Referenced by __ieee754_lgamma_r().

◆ half

const double half = 5.00000000000000000000e-01
static

Referenced by __ieee754_lgamma_r().

◆ one

const double one = 1.00000000000000000000e+00
static

Referenced by __ieee754_lgamma_r(), and sin_pi().

◆ pi

const double pi = 3.14159265358979311600e+00
static

Referenced by __ieee754_lgamma_r(), and sin_pi().

◆ r1

const double r1 = 1.39200533467621045958e+00
static

Referenced by __ieee754_lgamma_r().

◆ r2

const double r2 = 7.21935547567138069525e-01
static

Referenced by __ieee754_lgamma_r().

◆ r3

const double r3 = 1.71933865632803078993e-01
static

Referenced by __ieee754_lgamma_r().

◆ r4

const double r4 = 1.86459191715652901344e-02
static

Referenced by __ieee754_lgamma_r().

◆ r5

const double r5 = 7.77942496381893596434e-04
static

Referenced by __ieee754_lgamma_r().

◆ r6

const double r6 = 7.32668430744625636189e-06
static

Referenced by __ieee754_lgamma_r().

◆ s0

const double s0 = -7.72156649015328655494e-02
static

Referenced by __ieee754_lgamma_r().

◆ s1

const double s1 = 2.14982415960608852501e-01
static

Referenced by __ieee754_lgamma_r().

◆ s2

const double s2 = 3.25778796408930981787e-01
static

Referenced by __ieee754_lgamma_r().

◆ s3

const double s3 = 1.46350472652464452805e-01
static

Referenced by __ieee754_lgamma_r().

◆ s4

const double s4 = 2.66422703033638609560e-02
static

Referenced by __ieee754_lgamma_r().

◆ s5

const double s5 = 1.84028451407337715652e-03
static

Referenced by __ieee754_lgamma_r().

◆ s6

const double s6 = 3.19475326584100867617e-05
static

Referenced by __ieee754_lgamma_r().

◆ t0

const double t0 = 4.83836122723810047042e-01
static

Referenced by __ieee754_lgamma_r(), and stimer::span().

◆ t1

const double t1 = -1.47587722994593911752e-01
static

◆ t10

const double t10 = 8.81081882437654011382e-04
static

Referenced by __ieee754_lgamma_r().

◆ t11

const double t11 = -5.38595305356740546715e-04
static

Referenced by __ieee754_lgamma_r().

◆ t12

const double t12 = 3.15632070903625950361e-04
static

Referenced by __ieee754_lgamma_r().

◆ t13

const double t13 = -3.12754168375120860518e-04
static

Referenced by __ieee754_lgamma_r().

◆ t14

const double t14 = 3.35529192635519073543e-04
static

Referenced by __ieee754_lgamma_r().

◆ t2

const double t2 = 6.46249402391333854778e-02
static

◆ t3

const double t3 = -3.27885410759859649565e-02
static

Referenced by __ieee754_lgamma_r().

◆ t4

const double t4 = 1.79706750811820387126e-02
static

Referenced by __ieee754_lgamma_r().

◆ t5

const double t5 = -1.03142241298341437450e-02
static

Referenced by __ieee754_lgamma_r().

◆ t6

const double t6 = 6.10053870246291332635e-03
static

Referenced by __ieee754_lgamma_r().

◆ t7

const double t7 = -3.68452016781138256760e-03
static

Referenced by __ieee754_lgamma_r().

◆ t8

const double t8 = 2.25964780900612472250e-03
static

Referenced by __ieee754_lgamma_r().

◆ t9

const double t9 = -1.40346469989232843813e-03
static

Referenced by __ieee754_lgamma_r().

◆ tc

const double tc = 1.46163214496836224576e+00
static

Referenced by __ieee754_lgamma_r().

◆ tf

const double tf = -1.21486290535849611461e-01
static

Referenced by __ieee754_lgamma_r().

◆ tt

const double tt = -3.63867699703950536541e-18
static

Referenced by __ieee754_lgamma_r().

◆ two52

const double two52 = 4.50359962737049600000e+15
static

Referenced by sin_pi().

◆ u0

const double u0 = -7.72156649015328655494e-02
static

Referenced by __ieee754_lgamma_r().

◆ u1

const double u1 = 6.32827064025093366517e-01
static

Referenced by __ieee754_lgamma_r().

◆ u2

const double u2 = 1.45492250137234768737e+00
static

Referenced by __ieee754_lgamma_r().

◆ u3

const double u3 = 9.77717527963372745603e-01
static

Referenced by __ieee754_lgamma_r().

◆ u4

const double u4 = 2.28963728064692451092e-01
static

Referenced by __ieee754_lgamma_r().

◆ u5

const double u5 = 1.33810918536787660377e-02
static

Referenced by __ieee754_lgamma_r().

◆ v1

const double v1 = 2.45597793713041134822e+00
static

Referenced by __ieee754_lgamma_r().

◆ v2

const double v2 = 2.12848976379893395361e+00
static

Referenced by __ieee754_lgamma_r().

◆ v3

const double v3 = 7.69285150456672783825e-01
static

Referenced by __ieee754_lgamma_r().

◆ v4

const double v4 = 1.04222645593369134254e-01
static

Referenced by __ieee754_lgamma_r().

◆ v5

const double v5 = 3.21709242282423911810e-03
static

Referenced by __ieee754_lgamma_r().

◆ w0

const double w0 = 4.18938533204672725052e-01
static

Referenced by __ieee754_lgamma_r().

◆ w1

const double w1 = 8.33333333333329678849e-02
static

Referenced by __ieee754_lgamma_r().

◆ w2

const double w2 = -2.77777777728775536470e-03
static

Referenced by __ieee754_lgamma_r().

◆ w3

const double w3 = 7.93650558643019558500e-04
static

Referenced by __ieee754_lgamma_r().

◆ w4

const double w4 = -5.95187557450339963135e-04
static

Referenced by __ieee754_lgamma_r().

◆ w5

const double w5 = 8.36339918996282139126e-04
static

Referenced by __ieee754_lgamma_r().

◆ w6

const double w6 = -1.63092934096575273989e-03
static

Referenced by __ieee754_lgamma_r().

◆ zero

const double zero = 0.00000000000000000000e+00
static

Referenced by __ieee754_lgamma_r(), and sin_pi().