Home
last modified time | relevance | path

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

/external/llvm-project/flang/runtime/
Dedit-output.cpp161 int significantDigits, const DataEdit &edit, int flags) { in Convert() argument
167 significantDigits, edit.modes.round, x_)}; in Convert()
181 int significantDigits{editDigits}; in EditEorDOutput() local
188 significantDigits = in EditEorDOutput()
198 significantDigits = std::max(0, significantDigits - zeroesAfterPoint); in EditEorDOutput()
200 ++significantDigits; in EditEorDOutput()
201 scale = std::min(scale, significantDigits + 1); in EditEorDOutput()
206 Convert(significantDigits, edit, flags)}; in EditEorDOutput()
218 ++significantDigits; in EditEorDOutput()
233 significantDigits - (convertedDigits + zeroesBeforePoint))}; in EditEorDOutput()
[all …]
Dedit-output.h86 int significantDigits, const DataEdit &, int flags = 0);
/external/icu/icu4c/source/io/
Duprntf_p.cpp816 int32_t maxSigDecimalDigits, significantDigits; in u_printf_scidbl_handler() local
847 significantDigits = scidbl_info.fPrecision; in u_printf_scidbl_handler()
851 if (significantDigits == -1) { in u_printf_scidbl_handler()
852 significantDigits = 6; in u_printf_scidbl_handler()
855 unum_setAttribute(format, UNUM_MAX_SIGNIFICANT_DIGITS, significantDigits); in u_printf_scidbl_handler()
/external/apache-commons-math/src/main/java/org/apache/commons/math/dfp/
DDfp.java432 int significantDigits=0; in Dfp() local
445 decimalPos = significantDigits; in Dfp()
458 significantDigits++; in Dfp()
470 significantDigits--; in Dfp()
478 if (decimalFound && significantDigits == 0) { in Dfp()
489 p = significantDigits-1+offset; in Dfp()
/external/jsoncpp/include/json/
Dwriter.h351 PrecisionType precisionType = PrecisionType::significantDigits);
Dvalue.h129 significantDigits = 0, ///< we set max number of significant digits in string enumerator
/external/jsoncpp/src/lib_json/
Djson_writer.cpp143 (precisionType == PrecisionType::significantDigits) ? "%.*g" : "%.*f", in valueToString()
1178 PrecisionType precisionType(significantDigits); in newStreamWriter()
1180 precisionType = PrecisionType::significantDigits; in newStreamWriter()