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

Functions

OLM_DLLEXPORT double rint (double x)
 

Variables

static const double TWO52 [2]
 

Function Documentation

◆ rint()

OLM_DLLEXPORT double rint ( double  x)

References EXTRACT_WORDS, GET_HIGH_WORD, INSERT_WORDS, SET_HIGH_WORD, STRICT_ASSIGN, t, TWO52, and w.

Referenced by rint_test().

Here is the caller graph for this function:

Variable Documentation

◆ TWO52

const double TWO52[2]
static
Initial value:
={
4.50359962737049600000e+15,
-4.50359962737049600000e+15,
}

Referenced by rint().