Embedded Artistry Framework
Embedded Systems C++ Framework
Macros | Functions | Variables
s_lround.c File Reference
#include "cdefs-compat.h"
#include <limits.h>
#include <openlibm_fenv.h>
#include <openlibm_math.h>
#include "math_private.h"
Include dependency graph for s_lround.c:
This graph shows which files directly or indirectly include this file:

Macros

#define type   double
 
#define roundit   round
 
#define dtype   long
 
#define DTYPE_MIN   LONG_MIN
 
#define DTYPE_MAX   LONG_MAX
 
#define fn   lround
 
#define INRANGE(x)
 

Functions

OLM_DLLEXPORT dtype fn (type x)
 

Variables

static const type dtype_min = DTYPE_MIN - 0.5
 
static const type dtype_max = DTYPE_MAX + 0.5
 

Macro Definition Documentation

◆ dtype

#define dtype   long

◆ DTYPE_MAX

#define DTYPE_MAX   LONG_MAX

◆ DTYPE_MIN

#define DTYPE_MIN   LONG_MIN

◆ fn

#define fn   lround

◆ INRANGE

#define INRANGE (   x)
Value:
(dtype_max - DTYPE_MAX != 0.5 || \
((x) > dtype_min && (x) < dtype_max))
static const type dtype_min
Definition: s_lround.c:53
#define DTYPE_MAX
Definition: s_lround.c:41
static const type dtype_max
Definition: s_lround.c:54

◆ roundit

#define roundit   round

◆ type

#define type   double

Function Documentation

◆ fn()

Variable Documentation

◆ dtype_max

const type dtype_max = DTYPE_MAX + 0.5
static

◆ dtype_min

const type dtype_min = DTYPE_MIN - 0.5
static