Home
last modified time | relevance | path

Searched refs:precision (Results 1 – 25 of 64) sorted by relevance

123

/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/detail/
Dlcast_precision.hpp134 unsigned long const precision = 2UL + digits * 30103UL / 100000UL; in lcast_get_precision()
139 precision > limits::digits10 + 0UL && in lcast_get_precision()
140 precision <= streamsize_max + 0UL in lcast_get_precision()
142 return precision; in lcast_get_precision()
147 unsigned int const precision = limits::digits10 + 1U; in lcast_get_precision()
148 BOOST_ASSERT(precision <= streamsize_max + 0UL); in lcast_get_precision()
149 return precision; in lcast_get_precision()
170 stream.precision(lcast_get_precision<T>()); in lcast_set_precision()
178 stream.precision(s > t ? s : t); in lcast_set_precision()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostream.format/std.manip/
Dsetprecision.pass.cpp30 assert(is.precision() == 10); in main()
36 assert(os.precision() == 10); in main()
42 assert(is.precision() == 10); in main()
48 assert(os.precision() == 10); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostreams.base/ios.base/fmtflags.state/
Dprecision_streamsize.pass.cpp32 assert(t.precision() == 6); in main()
33 std::streamsize p = t.precision(10); in main()
35 assert(t.precision() == 10); in main()
Dprecision.pass.cpp32 assert(t.precision() == 6); in main()
/ndk/sources/cxx-stl/stlport/src/
Dnum_put_float.cpp490 int precision) { in __format_float_scientific() argument
506 if (precision != 0 || flags & ios_base::showpoint) { in __format_float_scientific()
511 while (*bp != 0 && precision--) in __format_float_scientific()
515 if (precision > 0) in __format_float_scientific()
516 buf.append(precision, '0'); in __format_float_scientific()
553 int precision) { in __format_float_fixed() argument
554 if ( sign && (decpt > -precision) && (*bp != 0) ) in __format_float_fixed()
569 if ( flags & ios_base::showpoint || precision > 0 ) { in __format_float_fixed()
574 while ( *bp != 0 && --precision >= 0 ) { in __format_float_fixed()
579 if (precision > 0) in __format_float_fixed()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostream.format/input.streams/istream/istream.assign/
Dmember_swap.pass.cpp51 assert(is1.precision() == 6); in main()
59 assert(is2.precision() == 6); in main()
74 assert(is1.precision() == 6); in main()
82 assert(is2.precision() == 6); in main()
Dmove_assign.pass.cpp57 assert(is1.precision() == 6); in main()
65 assert(is2.precision() == 6); in main()
80 assert(is1.precision() == 6); in main()
88 assert(is2.precision() == 6); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostream.format/output.streams/ostream.assign/
Dmember_swap.pass.cpp51 assert(os1.precision() == 6); in main()
59 assert(os2.precision() == 6); in main()
74 assert(os1.precision() == 6); in main()
82 assert(os2.precision() == 6); in main()
Dmove_assign.pass.cpp57 assert(os1.precision() == 6); in main()
65 assert(os2.precision() == 6); in main()
80 assert(os1.precision() == 6); in main()
88 assert(os2.precision() == 6); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostream.format/input.streams/iostreamclass/iostream.assign/
Dmove_assign.pass.cpp57 assert(is1.precision() == 6); in main()
65 assert(is2.precision() == 6); in main()
80 assert(is1.precision() == 6); in main()
88 assert(is2.precision() == 6); in main()
Dmember_swap.pass.cpp51 assert(is1.precision() == 6); in main()
59 assert(is2.precision() == 6); in main()
74 assert(is1.precision() == 6); in main()
82 assert(is2.precision() == 6); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostream.format/input.streams/iostreamclass/iostream.cons/
Dstreambuf.pass.cpp38 assert(is.precision() == 6); in main()
51 assert(is.precision() == 6); in main()
Dmove.pass.cpp58 assert(is.precision() == 6); in main()
74 assert(is.precision() == 6); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostream.format/output.streams/ostream.cons/
Dstreambuf.pass.cpp38 assert(os.precision() == 6); in main()
50 assert(os.precision() == 6); in main()
Dmove.pass.cpp56 assert(os.precision() == 6); in main()
70 assert(os.precision() == 6); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostream.format/input.streams/istream/istream.cons/
Dstreambuf.pass.cpp38 assert(is.precision() == 6); in main()
51 assert(is.precision() == 6); in main()
Dmove.pass.cpp58 assert(is.precision() == 6); in main()
74 assert(is.precision() == 6); in main()
/ndk/sources/cxx-stl/stlport/stlport/
Dcomplex29 // in the C++ Standard. Single-precision complex numbers
30 // are complex<float>, double-precision are complex<double>, and
31 // quad precision are complex<long double>.
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostreams.base/ios/basic.ios.cons/
Dctor_streambuf.pass.cpp31 assert(ios.precision() == 6); in main()
44 assert(ios.precision() == 6); in main()
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/io/
Dios_state.hpp64 : s_save_( s ), a_save_( s.precision() ) in ios_precision_saver()
67 : s_save_( s ), a_save_( s.precision(a) ) in ios_precision_saver()
73 { s_save_.precision( a_save_ ); } in restore()
331 : s_save_( s ), a1_save_( s.flags() ), a2_save_( s.precision() ) in ios_base_all_saver()
341 s_save_.precision( a2_save_ ); in restore()
361 : s_save_( s ), a1_save_( s.flags() ), a2_save_( s.precision() ) in basic_ios_all_saver()
384 s_save_.precision( a2_save_ ); in restore()
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/
Dprogress.hpp53 std::streamsize old_prec = m_os.precision( 2 ); in ~progress_timer()
57 m_os.precision( old_prec ); in ~progress_timer()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostreams.base/ios/basic.ios.members/
Dswap.pass.cpp76 ios1.precision(1); in main()
96 ios2.precision(2); in main()
121 assert(ios1.precision() == 2); in main()
150 assert(ios2.precision() == 1); in main()
Dcopyfmt.pass.cpp114 ios1.precision(1); in main()
134 ios2.precision(2); in main()
168 assert(ios1.precision() == 2); in main()
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/math/special_functions/detail/
Dfp_traits.hpp521 …EDUCED_TYPENAME size_to_precision<sizeof(T), ::boost::is_floating_point<T>::value>::type precision; typedef
522 typedef fp_traits_non_native<T, precision> type;
555 …EDUCED_TYPENAME size_to_precision<sizeof(T), ::boost::is_floating_point<T>::value>::type precision; typedef
559 typedef fp_traits_non_native<T, precision> type;
561 typedef fp_traits_non_native<T, precision> sign_change_type;
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/numarray/valarray.nonmembers/valarray.transcend/
Dacos_valarray.pass.cpp25 o.precision(p); in is_about()

123