Home
last modified time | relevance | path

Searched refs:decpt (Results 1 – 3 of 3) sorted by relevance

/php-src/main/
H A Dsnprintf.c62 static char * __cvt(double value, int ndigit, int *decpt, bool *sign, int fmode, int pad) /* {{{ */ in __cvt() argument
76 *decpt = 1 - fmode; /* 1 for 'e', 0 for 'f' */ in __cvt()
87 p = zend_dtoa(value, fmode + 2, ndigit, decpt, sign, &rve); in __cvt()
88 if (*decpt == 9999) { in __cvt()
90 *decpt = 0; in __cvt()
97 siz += *decpt; in __cvt()
121 static inline char *php_ecvt(double value, int ndigit, int *decpt, bool *sign) /* {{{ */ in php_ecvt() argument
123 return(__cvt(value, ndigit, decpt, sign, 0, 1)); in php_ecvt()
127 static inline char *php_fcvt(double value, int ndigit, int *decpt, bool *sign) /* {{{ */ in php_fcvt() argument
129 return(__cvt(value, ndigit, decpt, sign, 1, 1)); in php_fcvt()
/php-src/Zend/
H A Dzend_strtod.h34 ZEND_API char *zend_dtoa(double _d, int mode, int ndigits, int *decpt, bool *sign, char **rve);
H A Dzend_strtod.c1842 decpt = 0;
1858 decpt = ++s;
1880 decpt = ++s;
1885 if (decpt)
3797 *decpt = 9999; in zend_dtoa()
3809 *decpt = 1; in zend_dtoa()
4400 *decpt = k + 1; in zend_dtoa()
4512 int i, decpt; in zend_gcvt() local
4535 if ((decpt >= 0 && decpt > ndigit) || decpt < -3) { /* use E-style */ in zend_gcvt()
4539 decpt = -decpt; in zend_gcvt()
[all …]

Completed in 16 milliseconds