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

Functions

OLM_DLLEXPORT double tanh (double x)
 

Variables

static const double one = 1.0
 
static const double two = 2.0
 
static const double tiny = 1.0e-300
 
static const double huge = 1.0e300
 

Function Documentation

◆ tanh()

OLM_DLLEXPORT double tanh ( double  x)

References expm1(), fabs(), GET_HIGH_WORD, huge, one, t, tiny, two, and z.

Referenced by tanh_test().

Here is the caller graph for this function:

Variable Documentation

◆ huge

const double huge = 1.0e300
static

Referenced by tanh().

◆ one

const double one = 1.0
static

Referenced by tanh().

◆ tiny

const double tiny = 1.0e-300
static

Referenced by tanh().

◆ two

const double two = 2.0
static

Referenced by tanh().