Lines Matching refs:sign
69 static char * __cvt(double value, int ndigit, int *decpt, int *sign, int fmode, int pad) /* {{{ */ in __cvt() argument
84 *sign = 0; in __cvt()
94 p = zend_dtoa(value, fmode + 2, ndigit, decpt, sign, &rve); in __cvt()
128 static inline char *php_ecvt(double value, int ndigit, int *decpt, int *sign) /* {{{ */ in php_ecvt() argument
130 return(__cvt(value, ndigit, decpt, sign, 0, 1)); in php_ecvt()
134 static inline char *php_fcvt(double value, int ndigit, int *decpt, int *sign) /* {{{ */ in php_fcvt() argument
136 return(__cvt(value, ndigit, decpt, sign, 1, 1)); in php_fcvt()
143 int i, decpt, sign; in php_gcvt() local
149 digits = zend_dtoa(value, mode, ndigit, &decpt, &sign, NULL); in php_gcvt()
155 …snprintf(buf, ndigit + 1, "%s%s", (sign && *digits == 'I') ? "-" : "", *digits == 'I' ? "INF" : "N… in php_gcvt()
161 if (sign) { in php_gcvt()
168 sign = 1; in php_gcvt()
171 sign = 0; in php_gcvt()
184 if (sign) { in php_gcvt()
194 for (sign = decpt, i = 0; (sign /= 10) != 0; i++) in php_gcvt()