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

Functions

OLM_DLLEXPORT float tanhf (float x)
 

Variables

static const float one =1.0
 
static const float two =2.0
 
static const float tiny = 1.0e-30
 
static const float huge = 1.0e30
 

Function Documentation

◆ tanhf()

OLM_DLLEXPORT float tanhf ( float  x)

References expm1f(), fabsf(), GET_FLOAT_WORD, huge, one, t, tiny, two, and z.

Variable Documentation

◆ huge

const float huge = 1.0e30
static

Referenced by tanhf().

◆ one

const float one =1.0
static

Referenced by tanhf().

◆ tiny

const float tiny = 1.0e-30
static

Referenced by tanhf().

◆ two

const float two =2.0
static

Referenced by tanhf().