dhcpd-pools  3.0
ISC dhcpd lease usage analyser
Data Structures | Macros | Functions
isnan.c File Reference
#include <config.h>
#include <float.h>
#include <string.h>
#include "float+.h"
Include dependency graph for isnan.c:
This graph shows which files directly or indirectly include this file:

Data Structures

union  memory_double
 

Macros

#define FUNC   rpl_isnand
 
#define DOUBLE   double
 
#define MAX_EXP   DBL_MAX_EXP
 
#define MIN_EXP   DBL_MIN_EXP
 
#define SIZE   SIZEOF_DBL
 
#define L_(literal)   literal
 
#define EXP_MASK   ((MAX_EXP - MIN_EXP) | 7)
 
#define NWORDS   ((sizeof (DOUBLE) + sizeof (unsigned int) - 1) / sizeof (unsigned int))
 
#define IEEE_FLOATING_POINT
 

Functions

int rpl_isnand (double x)
 
int FUNC (DOUBLE x)
 

Macro Definition Documentation

◆ DOUBLE

#define DOUBLE   double

Referenced by FUNC().

◆ EXP_MASK

#define EXP_MASK   ((MAX_EXP - MIN_EXP) | 7)

Referenced by FUNC().

◆ FUNC

#define FUNC   rpl_isnand

◆ IEEE_FLOATING_POINT

#define IEEE_FLOATING_POINT
Value:
(FLT_RADIX == 2 && FLT_MANT_DIG == 24 \
&& FLT_MIN_EXP == -125 && FLT_MAX_EXP == 128)

◆ L_

#define L_ (   literal)    literal

Referenced by FUNC().

◆ MAX_EXP

#define MAX_EXP   DBL_MAX_EXP

◆ MIN_EXP

#define MIN_EXP   DBL_MIN_EXP

◆ NWORDS

#define NWORDS   ((sizeof (DOUBLE) + sizeof (unsigned int) - 1) / sizeof (unsigned int))

◆ SIZE

#define SIZE   SIZEOF_DBL

Referenced by FUNC().

Function Documentation

◆ FUNC()

int FUNC ( DOUBLE  x)

◆ rpl_isnand()

int rpl_isnand ( double  x)