Home
last modified time | relevance | path

Searched refs:exponentValue (Results 1 – 3 of 3) sorted by relevance

/external/angle/src/compiler/translator/tree_ops/d3d/
DExpandIntegerPowExpressions.cpp89 float exponentValue = constantExponent->getConstantValue()->getFConst(); in visitAggregate() local
92 if (exponentValue < -5.0f || exponentValue > 9.0f) in visitAggregate()
98 if (std::abs(exponentValue - std::round(exponentValue)) > 0.0001f) in visitAggregate()
104 int exponent = static_cast<int>(std::round(exponentValue)); in visitAggregate()
/external/deqp-deps/glslang/glslang/MachineIndependent/preprocessor/
DPpScanner.cpp208 double exponentValue = 0.0; in lFloatConst() local
246 exponentValue = 1.0; in lFloatConst()
251 exponentValue *= expFactor; in lFloatConst()
327 if (exponentValue == 0.0) in lFloatConst()
330 ppToken->dval = (double)wholeNumber / exponentValue; in lFloatConst()
332 ppToken->dval = (double)wholeNumber * exponentValue; in lFloatConst()
/external/angle/third_party/vulkan-deps/glslang/src/glslang/MachineIndependent/preprocessor/
DPpScanner.cpp208 double exponentValue = 0.0; in lFloatConst() local
246 exponentValue = 1.0; in lFloatConst()
251 exponentValue *= expFactor; in lFloatConst()
327 if (exponentValue == 0.0) in lFloatConst()
330 ppToken->dval = (double)wholeNumber / exponentValue; in lFloatConst()
332 ppToken->dval = (double)wholeNumber * exponentValue; in lFloatConst()