Home
last modified time | relevance | path

Searched refs:last_digit (Results 1 – 15 of 15) sorted by relevance

/external/webrtc/third_party/abseil-cpp/absl/strings/internal/str_format/
Dfloat_conversion.cc84 char last_digit() const { return end[-1] == '.' ? end[-2] : end[-1]; } in last_digit() function
228 return out->last_digit() % 2 == 1; in RemoveExtraPrecision()
323 (next_digit == 5 && (int_mantissa || out->last_digit() % 2 == 1))) { in FloatToBufferImpl()
/external/abseil-cpp/absl/strings/internal/str_format/
Dfloat_conversion.cc84 char last_digit() const { return end[-1] == '.' ? end[-2] : end[-1]; } in last_digit() function
228 return out->last_digit() % 2 == 1; in RemoveExtraPrecision()
323 (next_digit == 5 && (int_mantissa || out->last_digit() % 2 == 1))) { in FloatToBufferImpl()
/external/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_format.cc127 std::int_fast64_t last_digit = -(v % 10); in Format64() local
129 if (last_digit < 0) { in Format64()
131 last_digit += 10; in Format64()
134 *--ep = kDigits[last_digit]; in Format64()
/external/webrtc/third_party/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_format.cc127 std::int_fast64_t last_digit = -(v % 10); in Format64() local
129 if (last_digit < 0) { in Format64()
131 last_digit += 10; in Format64()
134 *--ep = kDigits[last_digit]; in Format64()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_format.cc154 std::int_fast64_t last_digit = -(v % 10); in Format64() local
156 if (last_digit < 0) { in Format64()
158 last_digit += 10; in Format64()
161 *--ep = kDigits[last_digit]; in Format64()
/external/libtextclassifier/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_format.cc154 std::int_fast64_t last_digit = -(v % 10); in Format64() local
156 if (last_digit < 0) { in Format64()
158 last_digit += 10; in Format64()
161 *--ep = kDigits[last_digit]; in Format64()
/external/openscreen/third_party/abseil/src/absl/time/internal/cctz/src/
Dtime_zone_format.cc154 std::int_fast64_t last_digit = -(v % 10); in Format64() local
156 if (last_digit < 0) { in Format64()
158 last_digit += 10; in Format64()
161 *--ep = kDigits[last_digit]; in Format64()
/external/angle/third_party/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_format.cc154 std::int_fast64_t last_digit = -(v % 10); in Format64() local
156 if (last_digit < 0) { in Format64()
158 last_digit += 10; in Format64()
161 *--ep = kDigits[last_digit]; in Format64()
/external/openscreen/third_party/abseil/src/absl/strings/internal/str_format/
Dfloat_conversion.cc997 char last_digit() const { return end[-1] == '.' ? end[-2] : end[-1]; } in last_digit() function
1150 return out->last_digit() % 2 == 1; in RemoveExtraPrecision()
1245 (next_digit == 5 && (int_mantissa || out->last_digit() % 2 == 1))) { in FloatToBufferImpl()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/strings/internal/str_format/
Dfloat_conversion.cc983 char last_digit() const { return end[-1] == '.' ? end[-2] : end[-1]; } in last_digit() function
1136 return out->last_digit() % 2 == 1; in RemoveExtraPrecision()
1231 (next_digit == 5 && (int_mantissa || out->last_digit() % 2 == 1))) { in FloatToBufferImpl()
/external/angle/third_party/abseil-cpp/absl/strings/internal/str_format/
Dfloat_conversion.cc1002 char last_digit() const { return end[-1] == '.' ? end[-2] : end[-1]; } in last_digit() function
1155 return out->last_digit() % 2 == 1; in RemoveExtraPrecision()
1250 (next_digit == 5 && (int_mantissa || out->last_digit() % 2 == 1))) { in FloatToBufferImpl()
/external/libtextclassifier/abseil-cpp/absl/strings/internal/str_format/
Dfloat_conversion.cc983 char last_digit() const { return end[-1] == '.' ? end[-2] : end[-1]; } in last_digit() function
1136 return out->last_digit() % 2 == 1; in RemoveExtraPrecision()
1231 (next_digit == 5 && (int_mantissa || out->last_digit() % 2 == 1))) { in FloatToBufferImpl()
/external/jsoncpp/src/lib_json/
Djson_reader.cpp1625 const auto last_digit = static_cast<Value::UInt>(value % 10); in decodeNumber() local
1626 decoded = -Value::LargestInt(value / 10) * 10 - last_digit; in decodeNumber()
/external/python/cpython3/Lib/
D_pydecimal.py2145 last_digit = xc % 10
2146 if last_digit in (2,4,6,8):
2192 elif last_digit == 5:
/external/python/cpython2/Lib/
Ddecimal.py2029 last_digit = xc % 10
2030 if last_digit in (2,4,6,8):
2076 elif last_digit == 5: