HomeSort by relevance Sort by last modified time
    Searched refs:decimal_point (Results 1 - 25 of 127) sorted by null

1 2 3 4 5 6

  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.monetary/locale.moneypunct.byname/
decimal_point.pass.cpp 14 // charT decimal_point() const;
58 assert(f.decimal_point() == std::numeric_limits<char>::max());
62 assert(f.decimal_point() == std::numeric_limits<char>::max());
66 assert(f.decimal_point() == std::numeric_limits<wchar_t>::max());
70 assert(f.decimal_point() == std::numeric_limits<wchar_t>::max());
75 assert(f.decimal_point() == '.');
79 assert(f.decimal_point() == '.');
83 assert(f.decimal_point() == L'.');
87 assert(f.decimal_point() == L'.');
92 assert(f.decimal_point() == ',')
    [all...]
  /external/chromium_org/third_party/WebKit/Source/wtf/dtoa/
fixed-dtoa.h 45 // decimal_point = -2.
47 // FastFixedDtoa(0.15, 2, ...) thus returns buffer = "2", decimal_point = 0.
54 Vector<char> buffer, int* length, int* decimal_point);
fast-dtoa.h 82 int* decimal_point);
double-conversion.cc 120 int decimal_point,
124 if (decimal_point <= 0) {
129 result_builder->AddPadding('0', -decimal_point);
130 ASSERT(length <= digits_after_point - (-decimal_point));
132 int remaining_digits = digits_after_point - (-decimal_point) - length;
135 } else if (decimal_point >= length) {
138 result_builder->AddPadding('0', decimal_point - length);
146 result_builder->AddSubstring(decimal_digits, decimal_point);
148 ASSERT(length - decimal_point <= digits_after_point);
149 result_builder->AddSubstring(&decimal_digits[decimal_point],
171 int decimal_point; local
214 int decimal_point; local
247 int decimal_point; local
297 int decimal_point; local
    [all...]
bignum-dtoa.cc 64 // Returns decimal_point s.t.
65 // v = numerator'/denominator' * 10^(decimal_point-1)
69 int* decimal_point,
79 static void BignumToFixed(int requested_digits, int* decimal_point,
85 // decimal_point when rounding up (for example for 0.9999).
86 static void GenerateCountedDigits(int count, int* decimal_point,
92 Vector<char> buffer, int* length, int* decimal_point) {
112 *decimal_point = -requested_digits;
130 FixupMultiply10(estimated_power, is_even, decimal_point,
133 // We now have v = (numerator / denominator) * 10^(decimal_point-1), an
    [all...]
fixed-dtoa.cc 193 static void RoundUp(Vector<char> buffer, int* length, int* decimal_point) {
197 *decimal_point = 1;
218 (*decimal_point)++;
236 int* length, int* decimal_point) {
266 RoundUp(buffer, length, decimal_point);
285 RoundUp(buffer, length, decimal_point);
293 static void TrimZeros(Vector<char> buffer, int* length, int* decimal_point) {
306 *decimal_point -= first_non_zero;
315 int* decimal_point) {
366 *decimal_point = *length
    [all...]
  /external/chromium_org/v8/src/
fixed-dtoa.h 42 // decimal_point = -2.
44 // FastFixedDtoa(0.15, 2, ...) thus returns buffer = "2", decimal_point = 0.
51 Vector<char> buffer, int* length, int* decimal_point);
conversions.cc 88 int decimal_point; local
96 &sign, &length, &decimal_point);
100 if (length <= decimal_point && decimal_point <= 21) {
103 builder.AddPadding('0', decimal_point - length);
105 } else if (0 < decimal_point && decimal_point <= 21) {
107 builder.AddSubstring(decimal_rep, decimal_point);
109 builder.AddString(decimal_rep + decimal_point);
111 } else if (decimal_point <= 0 && decimal_point > -6)
179 int decimal_point; local
272 int decimal_point; local
318 int decimal_point; local
    [all...]
fast-dtoa.h 79 int* decimal_point);
bignum-dtoa.cc 65 // Returns decimal_point s.t.
66 // v = numerator'/denominator' * 10^(decimal_point-1)
70 int* decimal_point,
80 static void BignumToFixed(int requested_digits, int* decimal_point,
86 // decimal_point when rounding up (for example for 0.9999).
87 static void GenerateCountedDigits(int count, int* decimal_point,
93 Vector<char> buffer, int* length, int* decimal_point) {
113 *decimal_point = -requested_digits;
131 FixupMultiply10(estimated_power, is_even, decimal_point,
134 // We now have v = (numerator / denominator) * 10^(decimal_point-1), an
    [all...]
fixed-dtoa.cc 194 static void RoundUp(Vector<char> buffer, int* length, int* decimal_point) {
198 *decimal_point = 1;
219 (*decimal_point)++;
237 int* length, int* decimal_point) {
267 RoundUp(buffer, length, decimal_point);
286 RoundUp(buffer, length, decimal_point);
294 static void TrimZeros(Vector<char> buffer, int* length, int* decimal_point) {
307 *decimal_point -= first_non_zero;
316 int* decimal_point) {
367 *decimal_point = *length
    [all...]
  /external/chromium_org/v8/test/cctest/
gay-fixed.h 38 int decimal_point; member in struct:v8::internal::PrecomputedFixed
gay-precision.h 38 int decimal_point; member in struct:v8::internal::PrecomputedPrecision
gay-shortest.h 37 int decimal_point; member in struct:v8::internal::PrecomputedShortest
  /external/v8/src/
fixed-dtoa.h 42 // decimal_point = -2.
44 // FastFixedDtoa(0.15, 2, ...) thus returns buffer = "2", decimal_point = 0.
51 Vector<char> buffer, int* length, int* decimal_point);
conversions.cc 75 int decimal_point; local
83 &sign, &length, &decimal_point);
87 if (length <= decimal_point && decimal_point <= 21) {
90 builder.AddPadding('0', decimal_point - length);
92 } else if (0 < decimal_point && decimal_point <= 21) {
94 builder.AddSubstring(decimal_rep, decimal_point);
96 builder.AddString(decimal_rep + decimal_point);
98 } else if (decimal_point <= 0 && decimal_point > -6)
166 int decimal_point; local
259 int decimal_point; local
305 int decimal_point; local
    [all...]
fast-dtoa.h 79 int* decimal_point);
bignum-dtoa.cc 65 // Returns decimal_point s.t.
66 // v = numerator'/denominator' * 10^(decimal_point-1)
70 int* decimal_point,
80 static void BignumToFixed(int requested_digits, int* decimal_point,
86 // decimal_point when rounding up (for example for 0.9999).
87 static void GenerateCountedDigits(int count, int* decimal_point,
93 Vector<char> buffer, int* length, int* decimal_point) {
113 *decimal_point = -requested_digits;
131 FixupMultiply10(estimated_power, is_even, decimal_point,
134 // We now have v = (numerator / denominator) * 10^(decimal_point-1), an
    [all...]
fixed-dtoa.cc 194 static void RoundUp(Vector<char> buffer, int* length, int* decimal_point) {
198 *decimal_point = 1;
219 (*decimal_point)++;
237 int* length, int* decimal_point) {
267 RoundUp(buffer, length, decimal_point);
286 RoundUp(buffer, length, decimal_point);
294 static void TrimZeros(Vector<char> buffer, int* length, int* decimal_point) {
307 *decimal_point -= first_non_zero;
316 int* decimal_point) {
367 *decimal_point = *length
    [all...]
  /external/v8/test/cctest/
gay-fixed.h 38 int decimal_point; member in struct:v8::internal::PrecomputedFixed
gay-precision.h 38 int decimal_point; member in struct:v8::internal::PrecomputedPrecision
gay-shortest.h 37 int decimal_point; member in struct:v8::internal::PrecomputedShortest
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/facet.numpunct/locale.numpunct/facet.numpunct.members/
decimal_point.pass.cpp 14 // char_type decimal_point() const;
25 assert(np.decimal_point() == '.');
30 assert(np.decimal_point() == L'.');
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/facet.numpunct/locale.numpunct.byname/
decimal_point.pass.cpp 14 // char_type decimal_point() const;
28 assert(np.decimal_point() == '.');
33 assert(np.decimal_point() == L'.');
41 assert(np.decimal_point() == '.');
46 assert(np.decimal_point() == L'.');
54 assert(np.decimal_point() == ',');
59 assert(np.decimal_point() == L',');
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.monetary/locale.moneypunct/locale.moneypunct.members/
decimal_point.pass.cpp 14 // charT decimal_point() const;
61 assert(f.decimal_point() == std::numeric_limits<char>::max());
65 assert(f.decimal_point() == std::numeric_limits<char>::max());
69 assert(f.decimal_point() == std::numeric_limits<wchar_t>::max());
73 assert(f.decimal_point() == std::numeric_limits<wchar_t>::max());

Completed in 1879 milliseconds

1 2 3 4 5 6