Home
last modified time | relevance | path

Searched refs:frac_digits (Results 1 – 23 of 23) sorted by relevance

/third_party/boost/boost/spirit/home/x3/support/numeric_utils/
Dextract_real.hpp168 int frac_digits = 0; in parse() local
182 frac_digits = in parse()
184 BOOST_ASSERT(frac_digits >= 0); in parse()
228 if (!extension::scale(exp, frac_digits, n)) in parse()
238 if (!extension::scale(-frac_digits, n)) in parse()
242 else if (frac_digits) in parse()
245 if (!extension::scale(-frac_digits, n)) in parse()
/third_party/jerryscript/jerry-core/ecma/builtin-objects/
Decma-builtin-number-prototype.c655 int32_t frac_digits; in ecma_builtin_number_prototype_object_to_fixed() local
660 &frac_digits, in ecma_builtin_number_prototype_object_to_fixed()
680 for (int32_t i = 0; i <= frac_digits; i++) in ecma_builtin_number_prototype_object_to_fixed()
684 num_digits = (lit_utf8_size_t) frac_digits + 1; in ecma_builtin_number_prototype_object_to_fixed()
697 exponent + frac_digits, in ecma_builtin_number_prototype_object_to_fixed()
702 int buffer_size = (exponent > 0) ? exponent + frac_digits + 2 : frac_digits + 3; in ecma_builtin_number_prototype_object_to_fixed()
721 lit_utf8_size_t to_num_digits = ((exponent > 0) ? (lit_utf8_size_t) (exponent + frac_digits) in ecma_builtin_number_prototype_object_to_fixed()
722 : (lit_utf8_size_t) (frac_digits + 1)); in ecma_builtin_number_prototype_object_to_fixed()
753 int32_t frac_digits; in ecma_builtin_number_prototype_object_to_exponential() local
758 &frac_digits, in ecma_builtin_number_prototype_object_to_exponential()
[all …]
/third_party/boost/boost/spirit/home/qi/numeric/detail/
Dreal_impl.hpp244 int frac_digits = 0; in parse() local
257 else if (p.parse_frac_n(first, last, acc_n, frac_digits)) in parse()
259 BOOST_ASSERT(frac_digits >= 0); in parse()
303 if (!traits::scale(exp + excess_n, frac_digits, n, acc_n)) in parse()
312 bool r = traits::scale(-frac_digits, n, acc_n); in parse()
316 else if (frac_digits) in parse()
319 bool r = traits::scale(-frac_digits, n, acc_n); in parse()
/third_party/boost/libs/spirit/test/qi/
Dreal.hpp34 parse_frac_n(Iterator& first, Iterator const& last, Attribute& attr, int& frac_digits) in parse_frac_n()
39 frac_digits = static_cast<int>(std::distance(savef, first)); in parse_frac_n()
/third_party/boost/boost/date_time/
Dtime_resolution_traits.hpp93 unsigned short frac_digits,
128 return frac_digits; in num_fractional_digits()
/third_party/boost/boost/spirit/home/qi/numeric/
Dreal_policies.hpp98 parse_frac_n(Iterator& first, Iterator const& last, Attribute& attr_, int& frac_digits) in parse_frac_n()
111 frac_digits = in parse_frac_n()
/third_party/musl/src/locale/
Dlocaleconv.c16 .frac_digits = CHAR_MAX,
/third_party/musl/include/
Dlocale.h37 char frac_digits; member
/third_party/musl/porting/liteos_m/kernel/include/
Dlocale.h37 char frac_digits; member
/third_party/musl/porting/liteos_a/kernel/include/
Dlocale.h37 char frac_digits; member
/third_party/musl/porting/uniproton/kernel/include/
Dlocale.h37 char frac_digits; member
/third_party/musl/ndk_musl_include/
Dlocale.h58 char frac_digits; member
/third_party/musl/porting/linux/user/include/
Dlocale.h58 char frac_digits; member
/third_party/musl/libc-test/src/functionalext/locale/
Dlocaleconv.c44 EXPECT_EQ("localeconv_0100", CHAR_MAX, pconv->frac_digits); in localeconv_0100()
/third_party/musl/libc-test/src/functionalext/supplement/locale/
Dlocaleconv_sup.c44 EXPECT_EQ("localeconv_0100", CHAR_MAX, pconv->frac_digits); in localeconv_0100()
/third_party/musl/libc-test/src/api/
Dlocale.c12 F(char,frac_digits) in f()
/third_party/boost/libs/locale/src/util/
Dnumeric.hpp169 int digits = std::use_facet<std::moneypunct<char_type,intl> >(loc).frac_digits(); in format_currency()
369 int digits = std::use_facet<std::moneypunct<char_type,intl> >(loc).frac_digits(); in parse_currency()
/third_party/boost/libs/locale/src/win32/
Dnumeric.cpp69 int digits = std::use_facet<std::moneypunct<char_type> >(loc).frac_digits(); in do_format_currency()
/third_party/boost/libs/spirit/example/qi/
Dreference.cpp128 int& frac_digits) in parse_frac_n()
137 frac_digits = static_cast<int>(std::distance(savef, first)); in parse_frac_n()
/third_party/boost/libs/locale/src/std/
Dnumeric.cpp148 frac_digits_ = wfacet.frac_digits(); in utf8_moneypunct_from_wide()
/third_party/python/Modules/
D_localemodule.c299 RESULT_INT(frac_digits); in _locale_localeconv_impl()
/third_party/python/Doc/tutorial/
Dstdlib2.rst65 ... conv['frac_digits'], x), grouping=True)
/third_party/python/Doc/library/
Dlocale.rst99 | | ``'frac_digits'`` | Number of fractional digits |