Embedded Artistry Framework
Embedded Systems C++ Framework
Macros | Functions | Variables
s_modfl.c File Reference
#include <float.h>
#include <openlibm_math.h>
#include "fpmath.h"
#include "math_private.h"
Include dependency graph for s_modfl.c:

Macros

#define MASK   ((u_int32_t)-1)
 
#define GETFRAC(bits, n)   ((bits) & ~(MASK << (n)))
 
#define HIBITS   (LDBL_MANT_DIG - LDBL_MANL_SIZE)
 

Functions

OLM_DLLEXPORT long double modfl (long double x, long double *iptr)
 

Variables

static const long double zero [] = { 0.0L, -0.0L }
 

Macro Definition Documentation

◆ GETFRAC

#define GETFRAC (   bits,
  n 
)    ((bits) & ~(MASK << (n)))

◆ HIBITS

#define HIBITS   (LDBL_MANT_DIG - LDBL_MANL_SIZE)

◆ MASK

#define MASK   ((u_int32_t)-1)

Function Documentation

◆ modfl()

OLM_DLLEXPORT long double modfl ( long double  x,
long double *  iptr 
)

Variable Documentation

◆ zero

const long double zero[] = { 0.0L, -0.0L }
static

Referenced by modfl().