Lines Matching refs:sign

216 static inline char* _Stl_ecvtR(double x, int n, int* pt, int* sign, char* buf)
217 { return ecvtbuf(x, n, pt, sign, buf); }
218 static inline char* _Stl_fcvtR(double x, int n, int* pt, int* sign, char* buf)
219 { return fcvtbuf(x, n, pt, sign, buf); }
224 static inline char* _Stl_ecvtR(long double x, int n, int* pt, int* sign, char* buf)
225 { return ecvtbuf(x, n, pt, sign, buf); }
226 static inline char* _Stl_fcvtR(long double x, int n, int* pt, int* sign, char* buf)
227 { return fcvtbuf(x, n, pt, sign, buf); }
231 static inline char* _Stl_ecvtR(double x, int n, int* pt, int* sign, char* buf, size_t bsize)
232 { return ecvt_r(x, n, pt, sign, buf, bsize) == 0 ? buf : 0; }
233 static inline char* _Stl_fcvtR(double x, int n, int* pt, int* sign, char* buf, size_t bsize)
234 { return fcvt_r(x, n, pt, sign, buf, bsize) == 0 ? buf : 0; }
236 static inline char* _Stl_ecvtR(long double x, int n, int* pt, int* sign, char* buf, size_t bsize)
237 { return qecvt_r(x, n, pt, sign, buf, bsize) == 0 ? buf : 0; }
238 static inline char* _Stl_fcvtR(long double x, int n, int* pt, int* sign, char* buf, size_t bsize)
239 { return qfcvt_r(x, n, pt, sign, buf, bsize) == 0 ? buf : 0; }
243 static inline char* _Stl_ecvtR(double x, int n, int* pt, int* sign, char* buf)
244 { return econvert(x, n, pt, sign, buf); }
245 static inline char* _Stl_fcvtR(double x, int n, int* pt, int* sign, char* buf)
246 { return fconvert(x, n, pt, sign, buf); }
248 static inline char* _Stl_ecvtR(long double x, int n, int* pt, int* sign, char* buf)
249 { return qeconvert(&x, n, pt, sign, buf); }
250 static inline char* _Stl_fcvtR(long double x, int n, int* pt, int* sign, char* buf)
251 { return qfconvert(&x, n, pt, sign, buf); }
254 static inline char* _Stl_ecvtR(double x, int n, int* pt, int* sign, char* buf, size_t bsize)
255 { return (ecvt_r(x, n, pt, sign, buf, bsize) == 0 ? buf : 0); }
256 static inline char* _Stl_fcvtR(double x, int n, int* pt, int* sign, char* buf, size_t bsize)
257 { return (fcvt_r(x, n, pt, sign, buf, bsize) == 0 ? buf : 0); }
260 static inline char* _Stl_ecvtR(long double x, int n, int* pt, int* sign, char* buf, size_t bsize)
261 { return (ecvt_r((double)x, n, pt, sign, buf, bsize) == 0 ? buf : 0) ; }
262 static inline char* _Stl_fcvtR(long double x, int n, int* pt, int* sign, char* buf, size_t bsize)
263 { return (fcvt_r((double)x, n, pt, sign, buf, bsize) == 0 ? buf : 0); }
267 static inline char* _Stl_ecvtR(double x, int n, int* pt, int* sign)
268 { return ecvt(x, n, pt, sign); }
269 static inline char* _Stl_fcvtR(double x, int n, int* pt, int* sign)
270 { return fcvt(x, n, pt, sign); }
272 static inline char* _Stl_ecvtR(long double x, int n, int* pt, int* sign)
273 { return _ldecvt(*(long_double*)&x, n, pt, sign); }
274 static inline char* _Stl_fcvtR(long double x, int n, int* pt, int* sign)
275 { return _ldfcvt(*(long_double*)&x, n, pt, sign); }
280 static inline char* _Stl_ecvtR(double x, int n, int* pt, int* sign, char* buf)
281 { return ecvt_r(x, n, pt, sign, buf); }
282 static inline char* _Stl_fcvtR(double x, int n, int* pt, int* sign, char* buf)
283 { return fcvt_r(x, n, pt, sign, buf); }
285 static inline char* _Stl_ecvtR(long double x, int n, int* pt, int* sign, char* buf)
286 { return qecvt_r(x, n, pt, sign, buf); }
287 static inline char* _Stl_fcvtR(long double x, int n, int* pt, int* sign, char* buf)
288 { return qfcvt_r(x, n, pt, sign, buf); }
300 static inline char* _Stl_ecvtR(double x, int n, int* pt, int* sign _STLP_BUF_PARAMS)
301 { _STLP_SECURE_FUN(_ecvt, x, n, pt, sign); }
302 static inline char* _Stl_fcvtR(double x, int n, int* pt, int* sign _STLP_BUF_PARAMS)
303 { _STLP_SECURE_FUN(_fcvt, x, n, pt, sign); }
310 static inline char* _Stl_ecvtR(long double x, int n, int* pt, int* sign _STLP_BUF_PARAMS)
311 { return _Stl_ecvtR(__STATIC_CAST(double, x), n, pt, sign _STLP_PARAMS); }
312 static inline char* _Stl_fcvtR(long double x, int n, int* pt, int* sign _STLP_BUF_PARAMS)
313 { return _Stl_fcvtR(__STATIC_CAST(double, x), n, pt, sign _STLP_PARAMS); }
323 static inline char* _Stl_ecvtR(double x, int n, int* pt, int* sign, char* buf)
324 { return _fp_ecvt( x, n, pt, sign, buf); }
325 static inline char* _Stl_fcvtR(double x, int n, int* pt, int* sign, char* buf)
326 { return _fp_fcvt(x, n, pt, sign, buf); }
328 static inline char* _Stl_ecvtR(long double x, int n, int* pt, int* sign, char* buf)
329 { return _fp_ecvt( x, n, pt, sign, buf); }
330 static inline char* _Stl_fcvtR(long double x, int n, int* pt, int* sign, char* buf)
331 { return _fp_fcvt(x, n, pt, sign, buf); }
337 static inline char* _Stl_ecvtR(double x, int n, int* pt, int* sign)
338 { return ecvt(x, n, pt, sign ); }
339 static inline char* _Stl_fcvtR(double x, int n, int* pt, int* sign)
340 { return fcvt(x, n, pt, sign); }
342 static inline char* _Stl_ecvtR(long double x, int n, int* pt, int* sign)
343 { return ecvt(x, n, pt, sign ); }
344 static inline char* _Stl_fcvtR(long double x, int n, int* pt, int* sign)
345 { return fcvt(x, n, pt, sign); }
360 static inline char* _Stl_ecvtR(double x, int n, int* pt, int* sign, char* buf) {
362 strcpy(buf, _Stl_ecvtR(x, n, pt, sign)); return buf;
364 static inline char* _Stl_fcvtR(double x, int n, int* pt, int* sign, char* buf) {
366 strcpy(buf, _Stl_fcvtR(x, n, pt, sign)); return buf;
369 static inline char* _Stl_ecvtR(long double x, int n, int* pt, int* sign, char* buf) {
371 strcpy(buf, _Stl_ecvtR(x, n, pt, sign)); return buf;
373 static inline char* _Stl_fcvtR(long double x, int n, int* pt, int* sign, char* buf) {
375 strcpy(buf, _Stl_fcvtR(x, n, pt, sign)); return buf;
379 static inline char* _Stl_ecvtR(double x, int n, int* pt, int* sign, char*)
380 { return _Stl_ecvtR(x, n, pt, sign); }
381 static inline char* _Stl_fcvtR(double x, int n, int* pt, int* sign, char*)
382 { return _Stl_fcvtR(x, n, pt, sign); }
384 static inline char* _Stl_ecvtR(long double x, int n, int* pt, int* sign, char*)
385 { return _Stl_ecvtR(x, n, pt, sign); }
386 static inline char* _Stl_fcvtR(long double x, int n, int* pt, int* sign, char*)
387 { return _Stl_fcvtR(x, n, pt, sign); }
402 static char* _Stl_ecvtR(long double x, int n, int* pt, int* sign, char* buf) {
407 return _Stl_ecvtR(y, n, pt, sign, buf);
414 *sign = 0;
442 static char* _Stl_fcvtR(long double x, int n, int* pt, int* sign, char* buf) {
447 return _Stl_fcvtR(y, n, pt, sign, buf);
453 *sign = 0;
488 int decpt, int sign, bool is_zero,
491 // sign if required
492 if (sign)
518 // exponent size = number of digits + exponent sign + exponent symbol + trailing zero
539 // put in the exponent sign
551 int decpt, int sign,
554 if ( sign && (decpt > -precision) && (*bp != 0) )
652 int decpt, int sign, bool is_zero,
658 __group_pos = __format_float_scientific( buf, bp, decpt, sign, is_zero,
662 __group_pos = __format_float_fixed( buf, bp, decpt, sign,
687 __group_pos = __format_float_scientific( buf, bp, decpt, sign, is_zero,
691 __group_pos = __format_float_fixed( buf, bp, decpt, sign,
758 char static_buf[limits::max_exponent10 + 6]; // 6: -xxx.yyyE-zzz (sign, dot, E, exp sign, \0)
794 int decpt, sign;
806 bp = _Stl_fcvtR(x, (min) (precision, digits10), &decpt, &sign, _STLP_CVT_BUFFER(cvtbuf) );
814 bp = _Stl_ecvtR(x, (min) (precision, digits10), &decpt, &sign, _STLP_CVT_BUFFER(cvtbuf) );
818 return __format_float(buf, bp, decpt, sign, x == 0.0, flags, precision);
862 int decpt, sign;
863 bp = _Stl_fcvtR(__x, 0, &decpt, &sign, _STLP_CVT_BUFFER(cvtbuf));
865 if (sign) {