Home
last modified time | relevance | path

Searched refs:real_type (Results 1 – 25 of 65) sorted by relevance

123

/external/abseil-cpp/absl/random/internal/
Dgenerate_real.h71 using real_type = RealType; variable
72 using uint_type = absl::conditional_t<std::is_same<real_type, float>::value,
76 (std::is_same<double, real_type>::value ||
77 std::is_same<float, real_type>::value),
80 static_assert(sizeof(uint_type) == sizeof(real_type),
83 static_assert((std::numeric_limits<real_type>::is_iec559 &&
84 std::numeric_limits<real_type>::radix == 2),
92 static constexpr int kExp = std::numeric_limits<real_type>::digits - 1;
96 int exp = exp_bias + int{std::numeric_limits<real_type>::max_exponent - 2};
136 real_type result;
Diostream_state_saver_test.cc287 using real_type = long double; in TEST() typedef
288 const real_type kValues[] = { in TEST()
318 std::numeric_limits<real_type>::max(), in TEST()
319 std::numeric_limits<real_type>::lowest(), in TEST()
320 std::numeric_limits<real_type>::epsilon(), in TEST()
321 std::nextafter(std::numeric_limits<real_type>::min(), in TEST()
322 real_type(1)), // min + epsilon in TEST()
323 std::numeric_limits<real_type>::min(), // smallest normal in TEST()
325 std::numeric_limits<real_type>::denorm_min(), // smallest denorm in TEST()
326 std::numeric_limits<real_type>::min() / 2, in TEST()
[all …]
/external/openscreen/third_party/abseil/src/absl/random/internal/
Dgenerate_real.h71 using real_type = RealType; variable
72 using uint_type = absl::conditional_t<std::is_same<real_type, float>::value,
76 (std::is_same<double, real_type>::value ||
77 std::is_same<float, real_type>::value),
80 static_assert(sizeof(uint_type) == sizeof(real_type),
83 static_assert((std::numeric_limits<real_type>::is_iec559 &&
84 std::numeric_limits<real_type>::radix == 2),
92 static constexpr int kExp = std::numeric_limits<real_type>::digits - 1;
96 int exp = exp_bias + int{std::numeric_limits<real_type>::max_exponent - 2};
136 real_type result;
Diostream_state_saver_test.cc287 using real_type = long double; in TEST() typedef
288 const real_type kValues[] = { in TEST()
318 std::numeric_limits<real_type>::max(), in TEST()
319 std::numeric_limits<real_type>::lowest(), in TEST()
320 std::numeric_limits<real_type>::epsilon(), in TEST()
321 std::nextafter(std::numeric_limits<real_type>::min(), in TEST()
322 real_type(1)), // min + epsilon in TEST()
323 std::numeric_limits<real_type>::min(), // smallest normal in TEST()
325 std::numeric_limits<real_type>::denorm_min(), // smallest denorm in TEST()
326 std::numeric_limits<real_type>::min() / 2, in TEST()
[all …]
/external/libtextclassifier/abseil-cpp/absl/random/internal/
Dgenerate_real.h71 using real_type = RealType; variable
72 using uint_type = absl::conditional_t<std::is_same<real_type, float>::value,
76 (std::is_same<double, real_type>::value ||
77 std::is_same<float, real_type>::value),
80 static_assert(sizeof(uint_type) == sizeof(real_type),
83 static_assert((std::numeric_limits<real_type>::is_iec559 &&
84 std::numeric_limits<real_type>::radix == 2),
92 static constexpr int kExp = std::numeric_limits<real_type>::digits - 1;
96 int exp = exp_bias + int{std::numeric_limits<real_type>::max_exponent - 2};
136 real_type result;
Diostream_state_saver_test.cc287 using real_type = long double; in TEST() typedef
288 const real_type kValues[] = { in TEST()
318 std::numeric_limits<real_type>::max(), in TEST()
319 std::numeric_limits<real_type>::lowest(), in TEST()
320 std::numeric_limits<real_type>::epsilon(), in TEST()
321 std::nextafter(std::numeric_limits<real_type>::min(), in TEST()
322 real_type(1)), // min + epsilon in TEST()
323 std::numeric_limits<real_type>::min(), // smallest normal in TEST()
325 std::numeric_limits<real_type>::denorm_min(), // smallest denorm in TEST()
326 std::numeric_limits<real_type>::min() / 2, in TEST()
[all …]
/external/angle/third_party/abseil-cpp/absl/random/internal/
Dgenerate_real.h71 using real_type = RealType; variable
72 using uint_type = absl::conditional_t<std::is_same<real_type, float>::value,
76 (std::is_same<double, real_type>::value ||
77 std::is_same<float, real_type>::value),
80 static_assert(sizeof(uint_type) == sizeof(real_type),
83 static_assert((std::numeric_limits<real_type>::is_iec559 &&
84 std::numeric_limits<real_type>::radix == 2),
92 static constexpr int kExp = std::numeric_limits<real_type>::digits - 1;
96 int exp = exp_bias + int{std::numeric_limits<real_type>::max_exponent - 2};
136 real_type result;
Diostream_state_saver_test.cc289 using real_type = long double; in TEST() typedef
290 const real_type kValues[] = { in TEST()
320 std::numeric_limits<real_type>::max(), in TEST()
321 std::numeric_limits<real_type>::lowest(), in TEST()
322 std::numeric_limits<real_type>::epsilon(), in TEST()
323 std::nextafter(std::numeric_limits<real_type>::min(), in TEST()
324 real_type(1)), // min + epsilon in TEST()
325 std::numeric_limits<real_type>::min(), // smallest normal in TEST()
327 std::numeric_limits<real_type>::denorm_min(), // smallest denorm in TEST()
328 std::numeric_limits<real_type>::min() / 2, in TEST()
[all …]
/external/webrtc/third_party/abseil-cpp/absl/random/internal/
Dgenerate_real.h71 using real_type = RealType; variable
72 using uint_type = absl::conditional_t<std::is_same<real_type, float>::value,
76 (std::is_same<double, real_type>::value ||
77 std::is_same<float, real_type>::value),
80 static_assert(sizeof(uint_type) == sizeof(real_type),
83 static_assert((std::numeric_limits<real_type>::is_iec559 &&
84 std::numeric_limits<real_type>::radix == 2),
92 static constexpr int kExp = std::numeric_limits<real_type>::digits - 1;
96 int exp = exp_bias + int{std::numeric_limits<real_type>::max_exponent - 2};
136 real_type result;
Diostream_state_saver_test.cc287 using real_type = long double; in TEST() typedef
288 const real_type kValues[] = { in TEST()
318 std::numeric_limits<real_type>::max(), in TEST()
319 std::numeric_limits<real_type>::lowest(), in TEST()
320 std::numeric_limits<real_type>::epsilon(), in TEST()
321 std::nextafter(std::numeric_limits<real_type>::min(), in TEST()
322 real_type(1)), // min + epsilon in TEST()
323 std::numeric_limits<real_type>::min(), // smallest normal in TEST()
325 std::numeric_limits<real_type>::denorm_min(), // smallest denorm in TEST()
326 std::numeric_limits<real_type>::min() / 2, in TEST()
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/random/internal/
Dgenerate_real.h71 using real_type = RealType; variable
72 using uint_type = absl::conditional_t<std::is_same<real_type, float>::value,
76 (std::is_same<double, real_type>::value ||
77 std::is_same<float, real_type>::value),
80 static_assert(sizeof(uint_type) == sizeof(real_type),
83 static_assert((std::numeric_limits<real_type>::is_iec559 &&
84 std::numeric_limits<real_type>::radix == 2),
92 static constexpr int kExp = std::numeric_limits<real_type>::digits - 1;
96 int exp = exp_bias + int{std::numeric_limits<real_type>::max_exponent - 2};
136 real_type result;
Diostream_state_saver_test.cc287 using real_type = long double; in TEST() typedef
288 const real_type kValues[] = { in TEST()
318 std::numeric_limits<real_type>::max(), in TEST()
319 std::numeric_limits<real_type>::lowest(), in TEST()
320 std::numeric_limits<real_type>::epsilon(), in TEST()
321 std::nextafter(std::numeric_limits<real_type>::min(), in TEST()
322 real_type(1)), // min + epsilon in TEST()
323 std::numeric_limits<real_type>::min(), // smallest normal in TEST()
325 std::numeric_limits<real_type>::denorm_min(), // smallest denorm in TEST()
326 std::numeric_limits<real_type>::min() / 2, in TEST()
[all …]
/external/eigen/bench/btl/actions/
Daction_axpby.hh98 STL_interface<typename Interface::real_type>::axpby(_alpha,X_stl,_beta,Y_stl,_size); in check_result()
100 typename Interface::real_type error= in check_result()
101 STL_interface<typename Interface::real_type>::norm_diff(Y_stl,resu_stl); in check_result()
121 typename Interface::real_type _alpha;
122 typename Interface::real_type _beta;
Daction_lu_solve.hh108 … STL_interface<typename Interface::real_type>::matrix_vector_product(A_stl,X_stl,B_new_stl,size); in calculate()
110 typename Interface::real_type error= in calculate()
111 STL_interface<typename Interface::real_type>::norm_diff(B_stl,B_new_stl); in calculate()
115 STL_interface<typename Interface::real_type>::display_vector(B_stl); in calculate()
116 STL_interface<typename Interface::real_type>::display_vector(B_new_stl); in calculate()
Daction_axpy.hh110 STL_interface<typename Interface::real_type>::axpy(_coef,X_stl,Y_stl,_size); in check_result()
112 typename Interface::real_type error= in check_result()
113 STL_interface<typename Interface::real_type>::norm_diff(Y_stl,resu_stl); in check_result()
134 typename Interface::real_type _coef;
Daction_aat_product.hh112 STL_interface<typename Interface::real_type>::aat_product(A_stl,X_stl,_size); in check_result()
114 typename Interface::real_type error= in check_result()
115 STL_interface<typename Interface::real_type>::norm_diff(X_stl,resu_stl); in check_result()
Daction_ata_product.hh112 STL_interface<typename Interface::real_type>::ata_product(A_stl,X_stl,_size); in check_result()
114 typename Interface::real_type error= in check_result()
115 STL_interface<typename Interface::real_type>::norm_diff(X_stl,resu_stl); in check_result()
Daction_trisolve.hh110 STL_interface<typename Interface::real_type>::trisolve_lower(L_stl,B_stl,X_stl,_size); in check_result()
112 typename Interface::real_type error= in check_result()
113 STL_interface<typename Interface::real_type>::norm_diff(X_stl,resu_stl); in check_result()
Daction_atv_product.hh99 STL_interface<typename Interface::real_type>::atv_product(A_stl,B_stl,X_stl,_size); in check_result()
101 typename Interface::real_type error= in check_result()
102 STL_interface<typename Interface::real_type>::norm_diff(X_stl,resu_stl); in check_result()
Daction_syr2.hh100 STL_interface<typename Interface::real_type>::syr2(A_stl,B_stl,X_stl,_size); in check_result()
102 typename Interface::real_type error= in check_result()
103 STL_interface<typename Interface::real_type>::norm_diff(X_stl,resu_stl); in check_result()
Daction_ger.hh97 STL_interface<typename Interface::real_type>::ger(A_stl,B_stl,X_stl,_size); in check_result()
99 typename Interface::real_type error= in check_result()
100 STL_interface<typename Interface::real_type>::norm_diff(X_stl,resu_stl); in check_result()
Daction_symv.hh106 STL_interface<typename Interface::real_type>::symv(A_stl,B_stl,X_stl,_size); in check_result()
108 typename Interface::real_type error= in check_result()
109 STL_interface<typename Interface::real_type>::norm_diff(X_stl,resu_stl); in check_result()
Daction_matrix_vector_product.hh117 STL_interface<typename Interface::real_type>::matrix_vector_product(A_stl,B_stl,X_stl,_size); in check_result()
119 typename Interface::real_type error= in check_result()
120 STL_interface<typename Interface::real_type>::norm_diff(X_stl,resu_stl); in check_result()
Daction_matrix_matrix_product.hh116 STL_interface<typename Interface::real_type>::matrix_matrix_product(A_stl,B_stl,X_stl,_size); in check_result()
117 typename Interface::real_type error= in check_result()
118 STL_interface<typename Interface::real_type>::norm_diff(X_stl,resu_stl); in check_result()
/external/openscreen/tools/cddl/
Dcodegen.cc79 return CppTypeToString(*cpp_type.tagged_type.real_type); in CppTypeToString()
417 fd, *cpp_type.tagged_type.real_type, defs)) { in EnsureDependentTypeDefinitionsWritten()
445 for (const std::unique_ptr<CppType>& real_type : table->cpp_types) { in WriteTypeDefinitions() local
446 if (real_type->which != CppType::Which::kStruct || in WriteTypeDefinitions()
447 real_type->struct_type.key_type == in WriteTypeDefinitions()
451 if (!EnsureDependentTypeDefinitionsWritten(fd, *real_type, &defs)) in WriteTypeDefinitions()
485 for (CppType* real_type : table->TypesWithId()) { in WriteFunctionDeclarations()
486 const auto& name = real_type->name; in WriteFunctionDeclarations()
487 if (real_type->which != CppType::Which::kStruct || in WriteFunctionDeclarations()
488 real_type->struct_type.key_type == in WriteFunctionDeclarations()
[all …]

123