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

Macros

#define BIAS   (LDBL_MAX_EXP - 1)
 
#define SET_NBIT(hx)   (hx)
 
#define HFRAC_BITS   (LDBL_MANH_SIZE - 1)
 
#define MANL_SHIFT   (LDBL_MANL_SIZE - 1)
 

Typedefs

typedef u_int32_t manl_t
 
typedef u_int32_t manh_t
 

Functions

OLM_DLLEXPORT long double remquol (long double x, long double y, int *quo)
 

Variables

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

Macro Definition Documentation

◆ BIAS

#define BIAS   (LDBL_MAX_EXP - 1)

◆ HFRAC_BITS

#define HFRAC_BITS   (LDBL_MANH_SIZE - 1)

◆ MANL_SHIFT

#define MANL_SHIFT   (LDBL_MANL_SIZE - 1)

◆ SET_NBIT

#define SET_NBIT (   hx)    (hx)

Typedef Documentation

◆ manh_t

typedef u_int32_t manh_t

◆ manl_t

typedef u_int32_t manl_t

Function Documentation

◆ remquol()

OLM_DLLEXPORT long double remquol ( long double  x,
long double  y,
int *  quo 
)

References BIAS, IEEEl2bits::bits, IEEEl2bits::e, fabsl(), HFRAC_BITS, LDBL_MAX_EXP, LDBL_MIN, LDBL_MIN_EXP, LDBL_NBIT, MANL_SHIFT, n, p, SET_NBIT, and Zero.

Referenced by remainderl().

Here is the caller graph for this function:

Variable Documentation

◆ Zero

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

Referenced by remquol().