Lines Matching refs:sign
60 static char * __cvt(double value, int ndigit, int *decpt, int *sign, int fmode, int pad) /* {{{ */ in __cvt() argument
75 *sign = 0; in __cvt()
85 p = zend_dtoa(value, fmode + 2, ndigit, decpt, sign, &rve); in __cvt()
119 static inline char *php_ecvt(double value, int ndigit, int *decpt, int *sign) /* {{{ */ in php_ecvt() argument
121 return(__cvt(value, ndigit, decpt, sign, 0, 1)); in php_ecvt()
125 static inline char *php_fcvt(double value, int ndigit, int *decpt, int *sign) /* {{{ */ in php_fcvt() argument
127 return(__cvt(value, ndigit, decpt, sign, 1, 1)); in php_fcvt()
134 int i, decpt, sign; in php_gcvt() local
140 digits = zend_dtoa(value, mode, ndigit, &decpt, &sign, NULL); in php_gcvt()
146 …snprintf(buf, ndigit + 1, "%s%s", (sign && *digits == 'I') ? "-" : "", *digits == 'I' ? "INF" : "N… in php_gcvt()
152 if (sign) { in php_gcvt()
159 sign = 1; in php_gcvt()
162 sign = 0; in php_gcvt()
175 if (sign) { in php_gcvt()
185 for (sign = decpt, i = 0; (sign /= 10) != 0; i++); in php_gcvt()