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

Functions

static double __frexp_exp (double x, int *expt)
 
OLM_DLLEXPORT double __ldexp_exp (double x, int expt)
 
OLM_DLLEXPORT double complex __ldexp_cexp (double complex z, int expt)
 

Variables

static const u_int32_t k = 1799
 
static const double kln2 = 1246.97177782734161156
 

Function Documentation

◆ __frexp_exp()

static double __frexp_exp ( double  x,
int *  expt 
)
static

References exp(), GET_HIGH_WORD, k, kln2, and SET_HIGH_WORD.

Referenced by __ldexp_cexp(), and __ldexp_exp().

◆ __ldexp_cexp()

OLM_DLLEXPORT double complex __ldexp_cexp ( double complex  z,
int  expt 
)

References __frexp_exp(), cimag(), CMPLX(), cos(), creal(), INSERT_WORDS, sin(), and z.

Referenced by ccosh(), cexp(), and csinh().

Here is the caller graph for this function:

◆ __ldexp_exp()

OLM_DLLEXPORT double __ldexp_exp ( double  x,
int  expt 
)

References __frexp_exp(), and INSERT_WORDS.

Referenced by __ieee754_cosh(), and __ieee754_sinh().

Here is the caller graph for this function:

Variable Documentation

◆ k

const u_int32_t k = 1799
static

◆ kln2

const double kln2 = 1246.97177782734161156
static

Referenced by __frexp_exp().