/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/ |
H A D | vktShaderRenderDerivateTests.cpp | 258 static float convertFloatFlushToZeroRtn (float value, int minExponent, int numAccurateBits) in convertFloatFlushToZeroRtn() argument 272 if (value > 0.0f && tcu::Float32(value).exponent() < minExponent) in convertFloatFlushToZeroRtn() 299 static float convertFloatFlushToZeroRtp (float value, int minExponent, int numAccurateBits) in convertFloatFlushToZeroRtp() argument 301 return -convertFloatFlushToZeroRtn(-value, minExponent, numAccurateBits); in convertFloatFlushToZeroRtp() 443 const int minExponent = getMinExponent(precision); in reverifyConstantDerivateWithFlushRelaxations() local 482 const tcu::Interval forwardComponent (convertFloatFlushToZeroRtn(addErrorUlp((float)functionValueForward[c], -0.5f, numVaryingSampleBits), minExponent, numBits), in reverifyConstantDerivateWithFlushRelaxations() 483 convertFloatFlushToZeroRtp(addErrorUlp((float)functionValueForward[c], +0.5f, numVaryingSampleBits), minExponent, numBits)); in reverifyConstantDerivateWithFlushRelaxations() local 484 const tcu::Interval backwardComponent (convertFloatFlushToZeroRtn(addErrorUlp((float)functionValueBackward[c], -0.5f, numVaryingSampleBits), minExponent, numBits), in reverifyConstantDerivateWithFlushRelaxations() 485 convertFloatFlushToZeroRtp(addErrorUlp((float)functionValueBackward[c], +0.5f, numVaryingSampleBits), minExponent, numBits)); in reverifyConstantDerivateWithFlushRelaxations() local 500 const tcu::Interval numeratorRange (convertFloatFlushToZeroRtn((float)numerator.lo(), minExponent, numeratorLoBit in reverifyConstantDerivateWithFlushRelaxations() 505 convertFloatFlushToZeroRtp(addErrorUlp((float)divisionRange.hi(), +divisionErrorUlps, numBits), minExponent, numBits)); reverifyConstantDerivateWithFlushRelaxations() local [all...] |
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fShaderDerivateTests.cpp | 270 static float convertFloatFlushToZeroRtn (float value, int minExponent, int numAccurateBits) in convertFloatFlushToZeroRtn() argument 284 if (value > 0.0f && tcu::Float32(value).exponent() < minExponent) in convertFloatFlushToZeroRtn() 311 static float convertFloatFlushToZeroRtp (float value, int minExponent, int numAccurateBits) in convertFloatFlushToZeroRtp() argument 313 return -convertFloatFlushToZeroRtn(-value, minExponent, numAccurateBits); in convertFloatFlushToZeroRtp() 486 const int minExponent = getMinExponent(precision); in reverifyConstantDerivateWithFlushRelaxations() local 522 const tcu::Interval forwardComponent (convertFloatFlushToZeroRtn(addErrorUlp((float)functionValueForward[c], -0.5f, numVaryingSampleBits), minExponent, numBits), in reverifyConstantDerivateWithFlushRelaxations() 523 convertFloatFlushToZeroRtp(addErrorUlp((float)functionValueForward[c], +0.5f, numVaryingSampleBits), minExponent, numBits)); in reverifyConstantDerivateWithFlushRelaxations() local 524 const tcu::Interval backwardComponent (convertFloatFlushToZeroRtn(addErrorUlp((float)functionValueBackward[c], -0.5f, numVaryingSampleBits), minExponent, numBits), in reverifyConstantDerivateWithFlushRelaxations() 525 convertFloatFlushToZeroRtp(addErrorUlp((float)functionValueBackward[c], +0.5f, numVaryingSampleBits), minExponent, numBits)); in reverifyConstantDerivateWithFlushRelaxations() local 540 const tcu::Interval numeratorRange (convertFloatFlushToZeroRtn((float)numerator.lo(), minExponent, numeratorLoBit in reverifyConstantDerivateWithFlushRelaxations() 545 convertFloatFlushToZeroRtp(addErrorUlp((float)divisionRange.hi(), +divisionErrorUlps, numBits), minExponent, numBits)); reverifyConstantDerivateWithFlushRelaxations() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderrender/ |
H A D | vktShaderRenderDerivateTests.cpp | 240 static float convertFloatFlushToZeroRtn (float value, int minExponent, int numAccurateBits) in convertFloatFlushToZeroRtn() argument 254 if (value > 0.0f && tcu::Float32(value).exponent() < minExponent) in convertFloatFlushToZeroRtn() 281 static float convertFloatFlushToZeroRtp (float value, int minExponent, int numAccurateBits) in convertFloatFlushToZeroRtp() argument 283 return -convertFloatFlushToZeroRtn(-value, minExponent, numAccurateBits); in convertFloatFlushToZeroRtp() 422 const int minExponent = getMinExponent(precision); in reverifyConstantDerivateWithFlushRelaxations() local 458 const tcu::Interval forwardComponent (convertFloatFlushToZeroRtn(addErrorUlp((float)functionValueForward[c], -0.5f, numVaryingSampleBits), minExponent, numBits), in reverifyConstantDerivateWithFlushRelaxations() 459 convertFloatFlushToZeroRtp(addErrorUlp((float)functionValueForward[c], +0.5f, numVaryingSampleBits), minExponent, numBits)); in reverifyConstantDerivateWithFlushRelaxations() local 460 const tcu::Interval backwardComponent (convertFloatFlushToZeroRtn(addErrorUlp((float)functionValueBackward[c], -0.5f, numVaryingSampleBits), minExponent, numBits), in reverifyConstantDerivateWithFlushRelaxations() 461 convertFloatFlushToZeroRtp(addErrorUlp((float)functionValueBackward[c], +0.5f, numVaryingSampleBits), minExponent, numBits)); in reverifyConstantDerivateWithFlushRelaxations() local 476 const tcu::Interval numeratorRange (convertFloatFlushToZeroRtn((float)numerator.lo(), minExponent, numeratorLoBit in reverifyConstantDerivateWithFlushRelaxations() 481 convertFloatFlushToZeroRtp(addErrorUlp((float)divisionRange.hi(), +divisionErrorUlps, numBits), minExponent, numBits)); reverifyConstantDerivateWithFlushRelaxations() local [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
H A D | APFloat.cpp | 61 APFloatBase::ExponentType minExponent; member 199 return semantics.minExponent; in semanticsMinExponent() 813 return isFiniteNonZero() && (exponent == semantics->minExponent) && 822 return isFiniteNonZero() && exponent == semantics->minExponent && 1352 /* Subnormal numbers have exponent minExponent, and their MSB 1354 if (exponent + exponentChange < semantics->minExponent) 1355 exponentChange = semantics->minExponent - exponent; 1398 exponent = semantics->minExponent; 2015 if (exponent + exponentChange < toSemantics.minExponent) 2016 exponentChange = toSemantics.minExponent [all...] |