Lines Matching refs:ndigit
62 static char * __cvt(double value, int ndigit, int *decpt, bool *sign, int fmode, int pad) /* {{{ */ in __cvt() argument
68 if (ndigit < 0) { in __cvt()
69 siz = -ndigit + 1; in __cvt()
71 siz = ndigit + 1; in __cvt()
78 if ((rve = s = (char *)malloc(ndigit?siz:2)) == NULL) { in __cvt()
83 if (!ndigit) { in __cvt()
87 p = zend_dtoa(value, fmode + 2, ndigit, decpt, sign, &rve); 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()