Home
last modified time | relevance | path

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

/external/chromium/base/third_party/dmg_fp/
Dg_fmt.cc34 int decpt, j, sign; in g_fmt() local
45 s = s0 = dtoa(x, 0, 0, &decpt, &sign, &se); in g_fmt()
48 if (decpt == 9999) /* Infinity or Nan */ { in g_fmt()
52 if (decpt <= -4 || decpt > se - s + 5) { in g_fmt()
61 if (--decpt < 0) { in g_fmt()
63 decpt = -decpt; in g_fmt()
67 for(j = 2, k = 10; 10*k <= decpt; j++, k *= 10) {} in g_fmt()
69 i = decpt / k; in g_fmt()
73 decpt -= i*k; in g_fmt()
74 decpt *= 10; in g_fmt()
[all …]
Dmac_wextra.patch8 if (decpt == 9999) /* Infinity or Nan */ {
13 if (decpt <= -4 || decpt > se - s + 5) {
18 - for(j = 2, k = 10; 10*k <= decpt; j++, k *= 10);
19 + for(j = 2, k = 10; 10*k <= decpt; j++, k *= 10) {}
21 i = decpt / k;
25 for(; decpt < 0; decpt++)
Dgcc_warnings.patch34 int *decpt, int *sign, char **rve);
90 if (decpt == 9999) /* Infinity or Nan */ {
95 if (decpt <= -4 || decpt > se - s + 5) {
106 for(; decpt < 0; decpt++)
115 if (--decpt == 0 && *s)
Ddmg_fp.h19 int* decpt, int* sign, char** rve);
Ddtoa.cc521 int *decpt, int *sign, char **rve);
1740 CONST unsigned char *decpt, *s0, *s, *s1; variable
1789 decpt = 0;
1801 decpt = s += i;
1805 decpt = ++s;
1819 if (*s == *decimalpoint && !decpt) {
1824 decpt = s += i;
1826 if (*s == '.' && !decpt) {
1827 decpt = ++s;
1832 if (decpt)
[all …]
/external/webkit/Source/JavaScriptCore/qt/api/
Dqscriptconverter_p.h30 extern char *qdtoa(double d, int mode, int ndigits, int *decpt, int *sign, char **rve, char **digit…
80 int decpt; in toString() local
84 (void)qdtoa(value, 0, 0, &decpt, &sign, &endresult, &result); in toString()
90 if (decpt <= 0 && decpt > -6) { in toString()
91 buf.resize(-decpt + 2 + sign); in toString()
92 qMemSet(buf.data(), '0', -decpt + 2 + sign); in toString()
101 if (decpt <= 21 && decpt > 0) { in toString()
102 if (length <= decpt) { in toString()
105 buf.append(zeros, decpt - length); in toString()
107 buf.append(result, decpt); in toString()
[all …]
/external/stlport/src/
Dnum_put_float.cpp488 int decpt, int sign, bool is_zero, in __format_float_scientific() argument
524 int nn = decpt - 1; in __format_float_scientific()
540 *--suffix = (char) ((decpt > 0 || is_zero ) ? '+' : '-'); in __format_float_scientific()
551 int decpt, int sign, in __format_float_fixed() argument
554 if ( sign && (decpt > -precision) && (*bp != 0) ) in __format_float_fixed()
560 int nnn = decpt; in __format_float_fixed()
575 buf += (++decpt <= 0) ? '0' : *bp++; in __format_float_fixed()
652 int decpt, int sign, bool is_zero, in __format_float() argument
658 __group_pos = __format_float_scientific( buf, bp, decpt, sign, is_zero, in __format_float()
662 __group_pos = __format_float_fixed( buf, bp, decpt, sign, in __format_float()
[all …]