/external/python/cpython2/Objects/ |
complexobject.c | 657 Py_complex exponent; local 668 exponent = b; 669 int_exponent = (long)exponent.real; 670 if (exponent.imag == 0. && exponent.real == int_exponent) 673 p = c_pow(a,exponent); [all...] |
floatobject.c | 92 {"radix", "FLT_RADIX -- radix of exponent"}, 472 int exponent; local 517 (void) frexp(i, &exponent); 518 /* exponent is the # of bits in v before the radix point; 521 if (exponent < 0 || (size_t)exponent < nbits) { 526 if ((size_t)exponent > nbits) { 1714 int exponent; local [all...] |
/external/python/cpython3/Objects/ |
complexobject.c | 518 Py_complex exponent; local 530 exponent = b; 531 int_exponent = (long)exponent.real; 532 if (exponent.imag == 0. && exponent.real == int_exponent) 535 p = _Py_c_pow(a, exponent);
|
floatobject.c | 60 {"radix", "FLT_RADIX -- radix of exponent"}, 373 int exponent; local 418 (void) frexp(i, &exponent); 419 /* exponent is the # of bits in v before the radix point; 422 if (exponent < 0 || (size_t)exponent < nbits) { 427 if ((size_t)exponent > nbits) { 944 /* copy buf to mybuf, adding exponent, sign and leading 0 */ 1477 int exponent; local [all...] |
/external/v8/src/arm64/ |
simulator-arm64.cc | [all...] |
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/common/ |
OverlayPlaneBase.cpp | 864 pCoeff[pos].exponent = 3; 868 pCoeff[pos].exponent = 2; 872 pCoeff[pos].exponent = 1; 876 pCoeff[pos].exponent = 0; [all...] |
/packages/apps/ExactCalculator/src/com/android/calculator2/ |
CalculatorResult.java | 86 // that should be displayed, plus the length of any exponent 91 // exponent. 97 // The result fits entirely in the display, even with an exponent, 99 // scrollable, and we do not add the exponent to max. scroll position, 100 // append an exponent insteadd of replacing trailing digits. 133 // switch to scientific notation with negative exponent. 136 // we switch to scientific notation with positive exponent. 408 // Return the length of the exponent representation for the given exponent, in 475 * will eventually be replaced by an exponent 692 int exponent = initExponent; local [all...] |
/prebuilts/go/darwin-x86/src/math/ |
expm1.go | 223 y = Float64frombits(Float64bits(y) + uint64(k)<<52) // add k to y's exponent 229 y = Float64frombits(Float64bits(y) + uint64(k)<<52) // add k to y's exponent 235 y = Float64frombits(Float64bits(y) + uint64(k)<<52) // add k to y's exponent
|
/prebuilts/go/linux-x86/src/math/ |
expm1.go | 223 y = Float64frombits(Float64bits(y) + uint64(k)<<52) // add k to y's exponent 229 y = Float64frombits(Float64bits(y) + uint64(k)<<52) // add k to y's exponent 235 y = Float64frombits(Float64bits(y) + uint64(k)<<52) // add k to y's exponent
|
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
vktShaderCommonFunctionTests.cpp | 108 const int inExp = tcu::Float32(input).exponent(); 109 const int outExp = tcu::Float32(output).exponent(); 140 const int exp = tcu::Float32(value).exponent(); 172 const int exponent[] = local 178 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(exponent) == glu::PRECISION_LAST); 179 DE_ASSERT(de::inBounds<int>(precision, 0, DE_LENGTH_OF_ARRAY(exponent))); 180 return exponent[precision]; 185 const int exponent[] = local 191 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(exponent) == glu::PRECISION_LAST); 192 DE_ASSERT(de::inBounds<int>(precision, 0, DE_LENGTH_OF_ARRAY(exponent))); [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
DecimalFormat_ICU58_Android.java | 204 * <td>Separates mantissa and exponent in scientific notation. 208 * <td>Exponent 294 * subpattern := prefix? number exponent? suffix? 301 * exponent := 'E' '+'? '0'* '0' 321 * sigDigits element is not followed by the exponent element. 361 * an input string resulting more than 1000 digits in plain decimal representation (non-exponent) 411 * or through the pattern. In a pattern, the exponent character immediately followed by 417 * <li>The number of digit characters after the exponent character gives the minimum 418 * exponent digit count. There is no maximum. Negative exponents are formatted using the 421 * sign, specify '+' between the exponent and the digits: "0.###E+0" will produce format 1691 int exponent = digitList.decimalAt; local 2473 long exponent = 0; \/\/ Set to the exponent value, if any local 4698 String exponent = String.valueOf(PATTERN_EXPONENT); local [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
DecimalFormat_ICU58_Android.java | 203 * <td>Separates mantissa and exponent in scientific notation. 207 * <td>Exponent 293 * subpattern := prefix? number exponent? suffix? 300 * exponent := 'E' '+'? '0'* '0' 320 * sigDigits element is not followed by the exponent element. 360 * an input string resulting more than 1000 digits in plain decimal representation (non-exponent) 410 * or through the pattern. In a pattern, the exponent character immediately followed by 416 * <li>The number of digit characters after the exponent character gives the minimum 417 * exponent digit count. There is no maximum. Negative exponents are formatted using the 420 * sign, specify '+' between the exponent and the digits: "0.###E+0" will produce format 1701 int exponent = digitList.decimalAt; local 2485 long exponent = 0; \/\/ Set to the exponent value, if any local 4767 String exponent = String.valueOf(PATTERN_EXPONENT); local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/ |
floatobject.c | 92 {"radix", "FLT_RADIX -- radix of exponent"},
463 int exponent;
local 508 (void) frexp(i, &exponent);
509 /* exponent is the # of bits in v before the radix point;
512 if (exponent < 0 || (size_t)exponent < nbits) {
517 if ((size_t)exponent > nbits) {
1705 int exponent; local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/ |
floatobject.c | 92 {"radix", "FLT_RADIX -- radix of exponent"},
462 int exponent;
local 507 (void) frexp(i, &exponent);
508 /* exponent is the # of bits in v before the radix point;
511 if (exponent < 0 || (size_t)exponent < nbits) {
516 if ((size_t)exponent > nbits) {
1690 int exponent; local [all...] |
/prebuilts/go/darwin-x86/src/math/big/ |
float_test.go | 255 {"0.25", MinExp, "+0"}, // exponent underflow 256 {"-0.25", MinExp, "-0"}, // exponent underflow 257 {"1", MaxExp, "+Inf"}, // exponent overflow 258 {"2", MaxExp - 1, "+Inf"}, // exponent overflow [all...] |
/prebuilts/go/linux-x86/src/math/big/ |
float_test.go | 255 {"0.25", MinExp, "+0"}, // exponent underflow 256 {"-0.25", MinExp, "-0"}, // exponent underflow 257 {"1", MaxExp, "+Inf"}, // exponent overflow 258 {"2", MaxExp - 1, "+Inf"}, // exponent overflow [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
FloatyUnitTest.java | 254 // Since normalHalf + 128ULP has a higher exponent, Floaty accepts an extra ULP to maintin 416 int exponent = -13; local 417 double limit = Math.scalb(1., exponent); 418 for (; exponent <= 16; exponent ++, limit *= 2) { 420 assertEquals(ulp, Math.scalb(1., exponent - 11)); 507 // 65519 and 65520 are between Float16 MAX_VALUE and +Infinity (but their exponent is
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/ |
MathUtils.java | [all...] |
/external/gemmlowp/fixedpoint/ |
fixedpoint.h | 335 inline IntegerType RoundingDivideByPOT(IntegerType x, int exponent) { 336 assert(exponent >= 0); 337 assert(exponent <= 31); 338 const IntegerType mask = Dup<IntegerType>((1ll << exponent) - 1); 344 return Add(ShiftRight(x, exponent), 349 // of two, with either a positive exponent (equivalent to an arithmetic 350 // left shift, saturating) or a negative exponent (equivalent to an arithmetic 352 template <int Exponent, typename IntegerType, 353 int ExponentSign = (Exponent > 0 ? 1 : Exponent < 0 ? -1 : 0) [all...] |
/external/mesa3d/src/compiler/spirv/ |
vtn_glsl450.c | 330 build_frexp(nir_builder *b, nir_ssa_def *x, nir_ssa_def **exponent) 337 * 8 exponent bits; 340 * An exponent shift of 23 will shift the mantissa out, leaving only the 341 * exponent and sign bit (which itself may be zero, if the absolute value 349 /* Exponent of floating-point values in the range [0.5, 1.0). */ 354 *exponent = 623 nir_ssa_def *exponent; local 624 val->ssa->def = build_frexp(nb, src[0], &exponent); 625 nir_store_deref_var(nb, vtn_nir_deref(b, w[6]), exponent, 0xf);
|
/external/mesa3d/src/mesa/drivers/dri/common/ |
xmlconfig.c | 227 * [eE]<exponent>, where <exponent> is an integer as recognized by 228 * strToI. In that case the result is number * 10^exponent. After 235 int nDigits = 0, pointPos, exponent; local 247 * digits, exponent and the end of the number. */ 269 exponent = strToI (string+1, &expTail, 10); 271 exponent = 0; 275 exponent = 0; 279 scale = sign * (float)pow (10.0, (double)(pointPos-1 + exponent)); [all...] |
/external/ImageMagick/coders/ |
hdr.c | 404 Read RGBE (red+green+blue+exponent) pixels. 790 exponent; 792 gamma=frexp(gamma,&exponent)*256.0/gamma; 796 pixel[3]=(unsigned char) (exponent+128); 783 exponent; local
|
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
vktShaderRenderDerivateTests.cpp | 186 const int exp = tcu::Float32(value).exponent(); 235 const int exp = tcu::Float32(value).exponent(); 253 if (value > 0.0f && tcu::Float32(value).exponent() < minExponent) 261 return tcu::Float32::construct(+1, inputFloat.exponent(), inputFloat.mantissa() & ~truncMask).asFloat(); 269 return tcu::Float32::construct(-1, inputFloat.exponent(), inputFloat.mantissa() & ~truncMask).asFloat() - getSingleULPForExponent(inputFloat.exponent(), numAccurateBits); 461 const int maxValueExp = de::max(de::max(tcu::Float32(forwardComponent.lo()).exponent(), tcu::Float32(forwardComponent.hi()).exponent()), 462 de::max(tcu::Float32(backwardComponent.lo()).exponent(), tcu::Float32(backwardComponent.hi()).exponent())); [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/ |
DecimalQuantity_AbstractBCD.java | 421 int exponent = (int) ((ieeeBits & 0x7ff0000000000000L) >> 52) - 0x3ff; local 423 // Not all integers can be represented exactly for exponent > 52 424 if (exponent <= 52 && (long) n == n) { 430 int fracLength = (int) ((52 - exponent) / 3.32192809489);
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
DecimalQuantity_AbstractBCD.java | 419 int exponent = (int) ((ieeeBits & 0x7ff0000000000000L) >> 52) - 0x3ff; local 421 // Not all integers can be represented exactly for exponent > 52 422 if (exponent <= 52 && (long) n == n) { 428 int fracLength = (int) ((52 - exponent) / 3.32192809489);
|