dhcpd-pools  3.0
ISC dhcpd lease usage analyser
Macros | Functions | Variables
strtod.c File Reference
#include <config.h>
#include <stdlib.h>
#include <ctype.h>
#include <errno.h>
#include <float.h>
#include <limits.h>
#include <math.h>
#include <stdbool.h>
#include <string.h>
#include "c-ctype.h"
Include dependency graph for strtod.c:

Macros

#define HAVE_LDEXP_IN_LIBC   0
 
#define ldexp   dummy_ldexp
 

Functions

static bool locale_isspace (char c)
 
static double ldexp (double x _GL_UNUSED, int exponent _GL_UNUSED)
 
static double scale_radix_exp (double x, int radix, long int exponent)
 
static double parse_number (const char *nptr, int base, int radix, int radix_multiplier, char expchar, char **endptr)
 
static double underlying_strtod (const char *, char **)
 
double strtod (const char *nptr, char **endptr)
 

Variables

double minus_zero = -0.0
 

Macro Definition Documentation

◆ HAVE_LDEXP_IN_LIBC

#define HAVE_LDEXP_IN_LIBC   0

Referenced by scale_radix_exp().

◆ ldexp

#define ldexp   dummy_ldexp

Referenced by scale_radix_exp().

Function Documentation

◆ ldexp()

static double ldexp ( double x  _GL_UNUSED,
int exponent  _GL_UNUSED 
)
static

◆ locale_isspace()

static bool locale_isspace ( char  c)
static

Referenced by parse_number(), and strtod().

◆ parse_number()

static double parse_number ( const char *  nptr,
int  base,
int  radix,
int  radix_multiplier,
char  expchar,
char **  endptr 
)
static

Referenced by strtod().

Here is the call graph for this function:

◆ scale_radix_exp()

static double scale_radix_exp ( double  x,
int  radix,
long int  exponent 
)
static

Referenced by parse_number().

◆ strtod()

double strtod ( const char *  nptr,
char **  endptr 
)

Referenced by strtod_or_err(), and underlying_strtod().

Here is the call graph for this function:

◆ underlying_strtod()

static double underlying_strtod ( const char *  nptr,
char **  endptr 
)
static

Referenced by parse_number(), and strtod().

Here is the call graph for this function:

Variable Documentation

◆ minus_zero

double minus_zero = -0.0

Referenced by strtod().