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

Functions

OLM_DLLEXPORT double trunc (double x)
 

Variables

static const double huge = 1.0e300
 

Function Documentation

◆ trunc()

OLM_DLLEXPORT double trunc ( double  x)

References EXTRACT_WORDS, huge, and INSERT_WORDS.

Referenced by rvOK(), and trunc_test().

Here is the caller graph for this function:

Variable Documentation

◆ huge

const double huge = 1.0e300
static

Referenced by trunc().