Home
last modified time | relevance | path

Searched refs:FloatType (Results 1 – 25 of 193) sorted by relevance

12345678

/external/llvm-project/libc/spec/
Dstdc.td298 … FunctionSpec<"copysignf", RetValSpec<FloatType>, [ArgSpec<FloatType>, ArgSpec<FloatType>]>,
302 FunctionSpec<"ceilf", RetValSpec<FloatType>, [ArgSpec<FloatType>]>,
306 FunctionSpec<"fabsf", RetValSpec<FloatType>, [ArgSpec<FloatType>]>,
310 FunctionSpec<"fdimf", RetValSpec<FloatType>, [ArgSpec<FloatType>, ArgSpec<FloatType>]>,
314 FunctionSpec<"floorf", RetValSpec<FloatType>, [ArgSpec<FloatType>]>,
318 FunctionSpec<"fminf", RetValSpec<FloatType>, [ArgSpec<FloatType>, ArgSpec<FloatType>]>,
322 FunctionSpec<"fmaxf", RetValSpec<FloatType>, [ArgSpec<FloatType>, ArgSpec<FloatType>]>,
326 FunctionSpec<"frexpf", RetValSpec<FloatType>, [ArgSpec<FloatType>, ArgSpec<IntPtr>]>,
330 FunctionSpec<"hypotf", RetValSpec<FloatType>, [ArgSpec<FloatType>, ArgSpec<FloatType>]>,
333 FunctionSpec<"ilogbf", RetValSpec<IntType>, [ArgSpec<FloatType>]>,
[all …]
/external/webrtc/third_party/abseil-cpp/absl/strings/
Dcharconv.cc63 template <typename FloatType>
260 template <typename FloatType>
263 mantissa_width - FloatTraits<FloatType>::kTargetMantissaBits; in NormalizedShiftSize()
265 FloatTraits<FloatType>::kMinNormalExponent - binary_exponent; in NormalizedShiftSize()
284 template <typename FloatType>
286 FloatType* value) { in HandleEdgeCase()
287 if (input.type == strings_internal::FloatType::kNan) { in HandleEdgeCase()
305 *value = negative ? -FloatTraits<FloatType>::MakeNan(nan_argument) in HandleEdgeCase()
306 : FloatTraits<FloatType>::MakeNan(nan_argument); in HandleEdgeCase()
309 if (input.type == strings_internal::FloatType::kInfinity) { in HandleEdgeCase()
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/strings/
Dcharconv.cc63 template <typename FloatType>
260 template <typename FloatType>
263 mantissa_width - FloatTraits<FloatType>::kTargetMantissaBits; in NormalizedShiftSize()
265 FloatTraits<FloatType>::kMinNormalExponent - binary_exponent; in NormalizedShiftSize()
284 template <typename FloatType>
286 FloatType* value) { in HandleEdgeCase()
287 if (input.type == strings_internal::FloatType::kNan) { in HandleEdgeCase()
305 *value = negative ? -FloatTraits<FloatType>::MakeNan(nan_argument) in HandleEdgeCase()
306 : FloatTraits<FloatType>::MakeNan(nan_argument); in HandleEdgeCase()
309 if (input.type == strings_internal::FloatType::kInfinity) { in HandleEdgeCase()
[all …]
/external/abseil-cpp/absl/strings/
Dcharconv.cc63 template <typename FloatType>
260 template <typename FloatType>
263 mantissa_width - FloatTraits<FloatType>::kTargetMantissaBits; in NormalizedShiftSize()
265 FloatTraits<FloatType>::kMinNormalExponent - binary_exponent; in NormalizedShiftSize()
284 template <typename FloatType>
286 FloatType* value) { in HandleEdgeCase()
287 if (input.type == strings_internal::FloatType::kNan) { in HandleEdgeCase()
305 *value = negative ? -FloatTraits<FloatType>::MakeNan(nan_argument) in HandleEdgeCase()
306 : FloatTraits<FloatType>::MakeNan(nan_argument); in HandleEdgeCase()
309 if (input.type == strings_internal::FloatType::kInfinity) { in HandleEdgeCase()
[all …]
/external/libtextclassifier/abseil-cpp/absl/strings/
Dcharconv.cc63 template <typename FloatType>
260 template <typename FloatType>
263 mantissa_width - FloatTraits<FloatType>::kTargetMantissaBits; in NormalizedShiftSize()
265 FloatTraits<FloatType>::kMinNormalExponent - binary_exponent; in NormalizedShiftSize()
284 template <typename FloatType>
286 FloatType* value) { in HandleEdgeCase()
287 if (input.type == strings_internal::FloatType::kNan) { in HandleEdgeCase()
305 *value = negative ? -FloatTraits<FloatType>::MakeNan(nan_argument) in HandleEdgeCase()
306 : FloatTraits<FloatType>::MakeNan(nan_argument); in HandleEdgeCase()
309 if (input.type == strings_internal::FloatType::kInfinity) { in HandleEdgeCase()
[all …]
/external/openscreen/third_party/abseil/src/absl/strings/
Dcharconv.cc63 template <typename FloatType>
260 template <typename FloatType>
263 mantissa_width - FloatTraits<FloatType>::kTargetMantissaBits; in NormalizedShiftSize()
265 FloatTraits<FloatType>::kMinNormalExponent - binary_exponent; in NormalizedShiftSize()
284 template <typename FloatType>
286 FloatType* value) { in HandleEdgeCase()
287 if (input.type == strings_internal::FloatType::kNan) { in HandleEdgeCase()
305 *value = negative ? -FloatTraits<FloatType>::MakeNan(nan_argument) in HandleEdgeCase()
306 : FloatTraits<FloatType>::MakeNan(nan_argument); in HandleEdgeCase()
309 if (input.type == strings_internal::FloatType::kInfinity) { in HandleEdgeCase()
[all …]
/external/angle/third_party/abseil-cpp/absl/strings/
Dcharconv.cc63 template <typename FloatType>
260 template <typename FloatType>
263 mantissa_width - FloatTraits<FloatType>::kTargetMantissaBits; in NormalizedShiftSize()
265 FloatTraits<FloatType>::kMinNormalExponent - binary_exponent; in NormalizedShiftSize()
284 template <typename FloatType>
286 FloatType* value) { in HandleEdgeCase()
287 if (input.type == strings_internal::FloatType::kNan) { in HandleEdgeCase()
305 *value = negative ? -FloatTraits<FloatType>::MakeNan(nan_argument) in HandleEdgeCase()
306 : FloatTraits<FloatType>::MakeNan(nan_argument); in HandleEdgeCase()
309 if (input.type == strings_internal::FloatType::kInfinity) { in HandleEdgeCase()
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/random/internal/
Duniform_helper.h111 template <typename FloatType, typename Tag>
114 std::is_floating_point<FloatType>,
117 FloatType>
118 uniform_lower_bound(Tag, FloatType a, FloatType b) { in uniform_lower_bound()
142 template <typename FloatType, typename Tag>
145 std::is_floating_point<FloatType>,
148 FloatType>
149 uniform_upper_bound(Tag, FloatType, FloatType b) { in uniform_upper_bound() argument
164 template <typename FloatType, typename Tag>
167 std::is_floating_point<FloatType>,
[all …]
/external/angle/third_party/abseil-cpp/absl/random/internal/
Duniform_helper.h111 template <typename FloatType, typename Tag>
114 std::is_floating_point<FloatType>,
117 FloatType>
118 uniform_lower_bound(Tag, FloatType a, FloatType b) { in uniform_lower_bound()
142 template <typename FloatType, typename Tag>
145 std::is_floating_point<FloatType>,
148 FloatType>
149 uniform_upper_bound(Tag, FloatType, FloatType b) { in uniform_upper_bound() argument
164 template <typename FloatType, typename Tag>
167 std::is_floating_point<FloatType>,
[all …]
/external/openscreen/third_party/abseil/src/absl/random/internal/
Duniform_helper.h111 template <typename FloatType, typename Tag>
114 std::is_floating_point<FloatType>,
117 FloatType>
118 uniform_lower_bound(Tag, FloatType a, FloatType b) { in uniform_lower_bound()
142 template <typename FloatType, typename Tag>
145 std::is_floating_point<FloatType>,
148 FloatType>
149 uniform_upper_bound(Tag, FloatType, FloatType b) { in uniform_upper_bound() argument
164 template <typename FloatType, typename Tag>
167 std::is_floating_point<FloatType>,
[all …]
/external/libtextclassifier/abseil-cpp/absl/random/internal/
Duniform_helper.h111 template <typename FloatType, typename Tag>
114 std::is_floating_point<FloatType>,
117 FloatType>
118 uniform_lower_bound(Tag, FloatType a, FloatType b) { in uniform_lower_bound()
142 template <typename FloatType, typename Tag>
145 std::is_floating_point<FloatType>,
148 FloatType>
149 uniform_upper_bound(Tag, FloatType, FloatType b) { in uniform_upper_bound() argument
164 template <typename FloatType, typename Tag>
167 std::is_floating_point<FloatType>,
[all …]
/external/angle/third_party/abseil-cpp/absl/strings/internal/
Dcharconv_parse_test.cc26 using absl::strings_internal::FloatType;
45 FloatType expected_type, uint64_t expected_mantissa, in ExpectParsedFloat()
84 if (parsed.type == FloatType::kNumber) { in ExpectParsedFloat()
104 ExpectParsedFloat<base>(std::move(s), format_flags, FloatType::kNumber, in ExpectNumber()
114 FloatType type) { in ExpectSpecial()
321 ExpectSpecial("inf$", chars_format::general, FloatType::kInfinity); in TEST()
322 ExpectSpecial("Inf$", chars_format::general, FloatType::kInfinity); in TEST()
323 ExpectSpecial("INF$", chars_format::general, FloatType::kInfinity); in TEST()
324 ExpectSpecial("inf$inite", chars_format::general, FloatType::kInfinity); in TEST()
325 ExpectSpecial("iNfInItY$", chars_format::general, FloatType::kInfinity); in TEST()
[all …]
/external/abseil-cpp/absl/strings/internal/
Dcharconv_parse_test.cc26 using absl::strings_internal::FloatType;
45 FloatType expected_type, uint64_t expected_mantissa, in ExpectParsedFloat()
84 if (parsed.type == FloatType::kNumber) { in ExpectParsedFloat()
104 ExpectParsedFloat<base>(std::move(s), format_flags, FloatType::kNumber, in ExpectNumber()
114 FloatType type) { in ExpectSpecial()
321 ExpectSpecial("inf$", chars_format::general, FloatType::kInfinity); in TEST()
322 ExpectSpecial("Inf$", chars_format::general, FloatType::kInfinity); in TEST()
323 ExpectSpecial("INF$", chars_format::general, FloatType::kInfinity); in TEST()
324 ExpectSpecial("inf$inite", chars_format::general, FloatType::kInfinity); in TEST()
325 ExpectSpecial("iNfInItY$", chars_format::general, FloatType::kInfinity); in TEST()
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/strings/internal/
Dcharconv_parse_test.cc26 using absl::strings_internal::FloatType;
45 FloatType expected_type, uint64_t expected_mantissa, in ExpectParsedFloat()
84 if (parsed.type == FloatType::kNumber) { in ExpectParsedFloat()
104 ExpectParsedFloat<base>(std::move(s), format_flags, FloatType::kNumber, in ExpectNumber()
114 FloatType type) { in ExpectSpecial()
321 ExpectSpecial("inf$", chars_format::general, FloatType::kInfinity); in TEST()
322 ExpectSpecial("Inf$", chars_format::general, FloatType::kInfinity); in TEST()
323 ExpectSpecial("INF$", chars_format::general, FloatType::kInfinity); in TEST()
324 ExpectSpecial("inf$inite", chars_format::general, FloatType::kInfinity); in TEST()
325 ExpectSpecial("iNfInItY$", chars_format::general, FloatType::kInfinity); in TEST()
[all …]
/external/webrtc/third_party/abseil-cpp/absl/strings/internal/
Dcharconv_parse_test.cc26 using absl::strings_internal::FloatType;
45 FloatType expected_type, uint64_t expected_mantissa, in ExpectParsedFloat()
84 if (parsed.type == FloatType::kNumber) { in ExpectParsedFloat()
104 ExpectParsedFloat<base>(std::move(s), format_flags, FloatType::kNumber, in ExpectNumber()
114 FloatType type) { in ExpectSpecial()
321 ExpectSpecial("inf$", chars_format::general, FloatType::kInfinity); in TEST()
322 ExpectSpecial("Inf$", chars_format::general, FloatType::kInfinity); in TEST()
323 ExpectSpecial("INF$", chars_format::general, FloatType::kInfinity); in TEST()
324 ExpectSpecial("inf$inite", chars_format::general, FloatType::kInfinity); in TEST()
325 ExpectSpecial("iNfInItY$", chars_format::general, FloatType::kInfinity); in TEST()
[all …]
/external/openscreen/third_party/abseil/src/absl/strings/internal/
Dcharconv_parse_test.cc26 using absl::strings_internal::FloatType;
45 FloatType expected_type, uint64_t expected_mantissa, in ExpectParsedFloat()
84 if (parsed.type == FloatType::kNumber) { in ExpectParsedFloat()
104 ExpectParsedFloat<base>(std::move(s), format_flags, FloatType::kNumber, in ExpectNumber()
114 FloatType type) { in ExpectSpecial()
321 ExpectSpecial("inf$", chars_format::general, FloatType::kInfinity); in TEST()
322 ExpectSpecial("Inf$", chars_format::general, FloatType::kInfinity); in TEST()
323 ExpectSpecial("INF$", chars_format::general, FloatType::kInfinity); in TEST()
324 ExpectSpecial("inf$inite", chars_format::general, FloatType::kInfinity); in TEST()
325 ExpectSpecial("iNfInItY$", chars_format::general, FloatType::kInfinity); in TEST()
[all …]
/external/libtextclassifier/abseil-cpp/absl/strings/internal/
Dcharconv_parse_test.cc26 using absl::strings_internal::FloatType;
45 FloatType expected_type, uint64_t expected_mantissa, in ExpectParsedFloat()
84 if (parsed.type == FloatType::kNumber) { in ExpectParsedFloat()
104 ExpectParsedFloat<base>(std::move(s), format_flags, FloatType::kNumber, in ExpectNumber()
114 FloatType type) { in ExpectSpecial()
321 ExpectSpecial("inf$", chars_format::general, FloatType::kInfinity); in TEST()
322 ExpectSpecial("Inf$", chars_format::general, FloatType::kInfinity); in TEST()
323 ExpectSpecial("INF$", chars_format::general, FloatType::kInfinity); in TEST()
324 ExpectSpecial("inf$inite", chars_format::general, FloatType::kInfinity); in TEST()
325 ExpectSpecial("iNfInItY$", chars_format::general, FloatType::kInfinity); in TEST()
[all …]
/external/webrtc/third_party/abseil-cpp/absl/random/internal/
Duniform_helper.h88 template <typename FloatType, typename Tag>
91 std::is_floating_point<FloatType>,
94 FloatType>
95 uniform_lower_bound(Tag, FloatType a, FloatType b) { in uniform_lower_bound()
119 template <typename FloatType, typename Tag>
122 std::is_floating_point<FloatType>,
125 FloatType>
126 uniform_upper_bound(Tag, FloatType, FloatType b) { in uniform_upper_bound() argument
141 template <typename FloatType, typename Tag>
144 std::is_floating_point<FloatType>,
[all …]
/external/abseil-cpp/absl/random/internal/
Duniform_helper.h88 template <typename FloatType, typename Tag>
91 std::is_floating_point<FloatType>,
94 FloatType>
95 uniform_lower_bound(Tag, FloatType a, FloatType b) { in uniform_lower_bound()
119 template <typename FloatType, typename Tag>
122 std::is_floating_point<FloatType>,
125 FloatType>
126 uniform_upper_bound(Tag, FloatType, FloatType b) { in uniform_upper_bound() argument
141 template <typename FloatType, typename Tag>
144 std::is_floating_point<FloatType>,
[all …]
/external/llvm-project/mlir/include/mlir/IR/
DBuiltinTypes.h21 class FloatType; variable
161 class FloatType : public Type {
166 static FloatType getBF16(MLIRContext *ctx);
167 static FloatType getF16(MLIRContext *ctx);
168 static FloatType getF32(MLIRContext *ctx);
169 static FloatType getF64(MLIRContext *ctx);
185 : public Type::TypeBase<BFloat16Type, FloatType, TypeStorage> {
193 inline FloatType FloatType::getBF16(MLIRContext *ctx) { in getBF16()
200 class Float16Type : public Type::TypeBase<Float16Type, FloatType, TypeStorage> {
208 inline FloatType FloatType::getF16(MLIRContext *ctx) { in getF16()
[all …]
/external/llvm-project/mlir/unittests/IR/
DAttributeTest.cpp121 FloatType floatTy = FloatType::getF32(&context); in TEST()
129 FloatType floatTy = FloatType::getF64(&context); in TEST()
137 FloatType floatTy = FloatType::getF32(&context); in TEST()
145 FloatType floatTy = FloatType::getBF16(&context); in TEST()
169 ComplexType complexType = ComplexType::get(FloatType::getF32(&context)); in TEST()
183 ComplexType complexType = ComplexType::get(FloatType::getF32(&context)); in TEST()
/external/tensorflow/tensorflow/lite/kernels/
Dmultinomial.cc35 template <typename FloatType, typename IntegralType>
37 const FloatType* logits, int logits_size, in MultinomialSample()
46 FloatType max_logit = std::numeric_limits<FloatType>::lowest(); in MultinomialSample()
52 FloatType odds = std::exp(logits[i] - max_logit) + last_odds; in MultinomialSample()
73 template <typename FloatType>
76 const FloatType* logits, int logits_size, in MultinomialSample()
81 return MultinomialSample<FloatType, int32_t>( in MultinomialSample()
86 return MultinomialSample<FloatType, int64_t>( in MultinomialSample()
/external/tensorflow/tensorflow/compiler/mlir/python/mlir_wrapper/
Dtypes.cc29 py::class_<mlir::FloatType, mlir::Type>(m, "FloatType") in init_types()
30 .def("getBF16", &mlir::FloatType::getBF16) in init_types()
31 .def("getF16", &mlir::FloatType::getF16) in init_types()
32 .def("getF32", &mlir::FloatType::getF32) in init_types()
33 .def("getF64", &mlir::FloatType::getF64); in init_types()
/external/tensorflow/tensorflow/compiler/mlir/hlo/include/mlir-hlo/Dialect/mhlo/transforms/
Dmap_lmhlo_to_scalar_op.h120 return MapLhloOpToStdScalarOpImpl<IntegerType, ScalarIOp<LhloOpTy>, FloatType,
131 if (element_type.isa<FloatType>()) {
132 return MapLhloOpToStdScalarOpImpl<FloatType, ::mlir::AbsFOp>{}(
158 FloatType, ScalarFOp<lmhlo::AddOp>,
177 return MapLhloOpToStdScalarOpImpl<FloatType, ::mlir::math::Atan2Op>{}(
227 if (element_type.isa<FloatType>()) {
250 return MapLhloOpToStdScalarOpImpl<FloatType, ::mlir::math::ExpOp>{}(
259 return MapLhloOpToStdScalarOpImpl<FloatType, ::mlir::math::ExpM1Op>{}(
268 return MapLhloOpToStdScalarOpImpl<FloatType, ::mlir::CeilFOp>{}(
312 } else if (sourceType.isa<FloatType>() && targetType.isa<FloatType>()) {
[all …]
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DIncorrectRoundingsCheck.cpp38 auto FloatType = expr(hasType(realFloatingPointType())); in registerMatchers() local
44 implicitCastExpr(FloatType, has(ignoringParenImpCasts(FloatHalf)))); in registerMatchers()
48 auto OneSideHalf = anyOf(allOf(hasLHS(FloatOrCastHalf), hasRHS(FloatType)), in registerMatchers()
49 allOf(hasRHS(FloatOrCastHalf), hasLHS(FloatType))); in registerMatchers()

12345678