php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
zend_strtod.h File Reference
#include <zend.h>
#include <float.h>

Go to the source code of this file.

Data Structures

struct  _zend_strtod_state
 

Macros

#define ZEND_STRTOD_K_MAX   7
 
#define ZEND_DOUBLE_MAX_LENGTH   1080
 

Typedefs

typedef struct _zend_strtod_bigint zend_strtod_bigint
 
typedef struct _zend_strtod_state zend_strtod_state
 

Functions

ZEND_API void zend_freedtoa (char *s)
 
ZEND_API char * zend_dtoa (double _d, int mode, int ndigits, int *decpt, bool *sign, char **rve)
 
ZEND_API char * zend_gcvt (double value, int ndigit, char dec_point, char exponent, char *buf)
 
ZEND_API double zend_strtod (const char *s00, const char **se)
 
ZEND_API double zend_hex_strtod (const char *str, const char **endptr)
 
ZEND_API double zend_oct_strtod (const char *str, const char **endptr)
 
ZEND_API double zend_bin_strtod (const char *str, const char **endptr)
 
ZEND_API int zend_shutdown_strtod (void)
 

Macro Definition Documentation

◆ ZEND_DOUBLE_MAX_LENGTH

#define ZEND_DOUBLE_MAX_LENGTH   1080

Definition at line 48 of file zend_strtod.h.

◆ ZEND_STRTOD_K_MAX

#define ZEND_STRTOD_K_MAX   7

Definition at line 26 of file zend_strtod.h.

Typedef Documentation

◆ zend_strtod_bigint

typedef struct _zend_strtod_bigint zend_strtod_bigint

Definition at line 27 of file zend_strtod.h.

◆ zend_strtod_state

Function Documentation

◆ zend_bin_strtod()

ZEND_API double zend_bin_strtod ( const char * str,
const char ** endptr )

Definition at line 4475 of file zend_strtod.c.

◆ zend_dtoa()

ZEND_API char * zend_dtoa ( double _d,
int mode,
int ndigits,
int * decpt,
bool * sign,
char ** rve )

Definition at line 3707 of file zend_strtod.c.

◆ zend_freedtoa()

ZEND_API void zend_freedtoa ( char * s)

Definition at line 3661 of file zend_strtod.c.

◆ zend_gcvt()

ZEND_API char * zend_gcvt ( double value,
int ndigit,
char dec_point,
char exponent,
char * buf )

Definition at line 4513 of file zend_strtod.c.

◆ zend_hex_strtod()

ZEND_API double zend_hex_strtod ( const char * str,
const char ** endptr )

Definition at line 4410 of file zend_strtod.c.

◆ zend_oct_strtod()

ZEND_API double zend_oct_strtod ( const char * str,
const char ** endptr )

Definition at line 4443 of file zend_strtod.c.

◆ zend_shutdown_strtod()

ZEND_API int zend_shutdown_strtod ( void )

Definition at line 560 of file zend_strtod.c.

◆ zend_strtod()

ZEND_API double zend_strtod ( const char * s00,
const char ** se )

Definition at line 2521 of file zend_strtod.c.