Home
last modified time | relevance | path

Searched refs:kLog2 (Results 1 – 13 of 13) sorted by relevance

/third_party/skia/src/utils/
DSkFloatToDecimal.cpp119 static const double kLog2 = 0.3010299956639812; // log10(2.0); in SkFloatToDecimal() local
120 int decimalExponent = static_cast<int>(std::floor(kLog2 * binaryExponent)); in SkFloatToDecimal()
/third_party/flutter/skia/src/utils/
DSkFloatToDecimal.cpp119 static const double kLog2 = 0.3010299956639812; // log10(2.0); in SkFloatToDecimal() local
120 int decimalExponent = static_cast<int>(std::floor(kLog2 * binaryExponent)); in SkFloatToDecimal()
/third_party/skia/third_party/externals/tint/src/sem/
Dintrinsic_type.h79 kLog2, enumerator
Dintrinsic_type.cc160 return IntrinsicType::kLog2; in ParseIntrinsicType()
427 case IntrinsicType::kLog2: in str()
Dintrinsic_test.cc85 IntrinsicData{"log2", IntrinsicType::kLog2},
/third_party/skia/third_party/externals/tint/src/writer/msl/
Dgenerator_impl_intrinsic_test.cc89 case IntrinsicType::kLog2: in GenerateCall()
246 IntrinsicData{IntrinsicType::kLog2, ParamType::kF32, "log2"},
Dgenerator_impl.cc1282 case sem::IntrinsicType::kLog2: in generate_builtin_name()
/third_party/skia/third_party/externals/tint/src/writer/hlsl/
Dgenerator_impl_intrinsic_test.cc93 case IntrinsicType::kLog2: in GenerateCall()
233 IntrinsicData{IntrinsicType::kLog2, ParamType::kF32, "log2"},
Dgenerator_impl.cc2351 case sem::IntrinsicType::kLog2: in generate_builtin_name()
/third_party/skia/third_party/externals/tint/src/writer/glsl/
Dgenerator_impl_intrinsic_test.cc93 case IntrinsicType::kLog2: in GenerateCall()
233 IntrinsicData{IntrinsicType::kLog2, ParamType::kF32, "log2"},
Dgenerator_impl.cc1306 case sem::IntrinsicType::kLog2: in generate_builtin_name()
/third_party/skia/third_party/externals/tint/src/resolver/
Dintrinsic_test.cc693 IntrinsicData{"log2", IntrinsicType::kLog2},
/third_party/skia/third_party/externals/tint/src/writer/spirv/
Dbuilder.cc178 case IntrinsicType::kLog2: in intrinsic_to_glsl_method()