Home
last modified time | relevance | path

Searched refs:power (Results 1 – 25 of 1062) sorted by relevance

12345678910>>...43

/third_party/python/Lib/test/decimaltestdata/
Dpowersqrt.decTest2 -- powersqrt.decTest -- decimal square root, using power --
23 -- evaluated using the power operator. The differences in results
40 pwsx001 power 1 0.5 -> 1.00000000 Inexact Rounded
41 pwsx002 power -1 0.5 -> NaN Invalid_operation
42 pwsx003 power 1.00 0.5 -> 1.00000000 Inexact Rounded
43 pwsx004 power -1.00 0.5 -> NaN Invalid_operation
44 pwsx005 power 0 0.5 -> 0
45 pwsx006 power 00.0 0.5 -> 0
46 pwsx007 power 0.00 0.5 -> 0
47 pwsx008 power 00.00 0.5 -> 0
[all …]
Dpower.decTest2 -- power.decTest -- decimal exponentiation [power(x, y)] --
22 -- In addition to the power operator testcases here, see also the file
24 -- squareroot.decTest implemented using power(x, 0.5)
33 powx001 power '0' '0' -> NaN Invalid_operation
34 powx002 power '0' '1' -> '0'
35 powx003 power '0' '2' -> '0'
36 powx004 power '1' '0' -> '1'
37 powx005 power '1' '1' -> '1'
38 powx006 power '1' '2' -> '1'
40 powx010 power '2' '0' -> '1'
[all …]
Dextra.decTest216 -- Cases where the power function was impossibly slow to determine that the
221 extr1700 power 10 1e-999999999 -> 1.000000000000000 Inexact Rounded
222 extr1701 power 100.0 -557.71e-742888888 -> 1.000000000000000 Inexact Rounded
223 extr1702 power 10 1e-100 -> 1.000000000000000 Inexact Rounded
226 extr1703 power 4 -1.2e-999999999 -> 1.000000000000000 Inexact Rounded
228 -- A couple of interesting exact cases for power. Note that the specification
230 extr1710 power 1e375 56e-3 -> 1.000000000000000E+21 Inexact Rounded
231 extr1711 power 10000 0.75 -> 1000.000000000000 Inexact Rounded
232 extr1712 power 1e-24 0.875 -> 1.000000000000000E-21 Inexact Rounded
234 -- Some more exact cases, exercising power with negative second argument.
[all …]
Drandoms.decTest35 xpow001 power 905.67402 -2 -> 0.00000121914730 Inexact Rounded
43 xpow002 power 3915134.7 -597164907 -> 0E-1000000007 Underflow Subnormal Inexact Rounded Clamped
51 xpow003 power 309759261 62663 -> 1.13679199E+532073 Inexact Rounded
59 xpow004 power 3.93591888E-236595626 7242375 -> 0E-1000000007 Underflow Subnormal Inexact Rounded Cl…
67 xpow005 power 323902.714 -6 -> 8.65989204E-34 Inexact Rounded
75 xpow006 power 5.11970092 -8807 -> 4.81819262E-6247 Inexact Rounded
83 xpow007 power -7.99874516 4562 -> 3.85236199E+4119 Inexact Rounded
91 xpow008 power 297802878 -927206 -> 1.94602810E-7857078 Inexact Rounded
99 xpow009 power -766.651824 31300 -> 8.37189011E+90287 Inexact Rounded
107 xpow010 power -56746.8689E+934981942 471002521 -> -Infinity Overflow Inexact Rounded
[all …]
DrandomBound32.decTest37 powx3001 power 4953734675913.065314738743322579 2 -> 24539487239343522246155890.99495 Inexact Round…
45 powx3002 power 9641.684323386955881595490347910E-844 -8 -> 1.338988152067180337738955757587E+6720 I…
53 powx3003 power -1.028048571628326871054964307774E+529 5 -> -1.148333858253704284232780819739E+2645 …
61 powx3004 power 479084.8561808930525417735205519 8 -> 2.775233598021235973545933045837E+45 Inexact R…
69 powx3005 power -0363750788.573782205664349562931 -3172 -> 0E-10029 Underflow Subnormal Inexact Roun…
77 powx3006 power 1381026551423669919010191878449 -83 -> 2.307977908106564299925193011052E-2502 Inexac…
85 powx3007 power 4627.026960423072127953556635585 -4 -> 2.181684167222334934221407781701E-15 Inexact …
93 powx3008 power 75353574493.84484153484918212042 -9 -> 1.276630670287906925570645490707E-98 Inexact …
101 powx3009 power 6907058.216435355874729592373011 3 -> 329518156646369505494.8971353240 Inexact Round…
109 powx3010 power -38949530427253.24030680468677190 7 -> -1.359926959823071332599817363877E+95 Inexact…
[all …]
Drounding.decTest876 rpox101 power 12345 -5 -> 3.4877E-21 Inexact Rounded
877 rpox102 power 12345 -4 -> 4.3056E-17 Inexact Rounded
878 rpox103 power 12345 -3 -> 5.3152E-13 Inexact Rounded
879 rpox104 power 12345 -2 -> 6.5617E-9 Inexact Rounded
880 rpox105 power 12345 -1 -> 0.000081004 Inexact Rounded
881 rpox106 power 12345 0 -> 1
882 rpox107 power 12345 1 -> 12345
883 rpox108 power 12345 2 -> 1.5239E+8 Inexact Rounded
884 rpox109 power 12345 3 -> 1.8813E+12 Inexact Rounded
885 rpox110 power 12345 4 -> 2.3225E+16 Inexact Rounded
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/units/
DUnitsConverter.java287 private void multiply(BigDecimal value, int power) { in multiply() argument
288 if (power == 0) return; in multiply()
290 BigDecimal absPoweredValue = value.pow(Math.abs(power), DECIMAL128); in multiply()
291 if (power > 0) { in multiply()
306 int power = unitPrefix.getPower(); in applyPrefix() local
308 BigDecimal.valueOf(base).pow(Math.abs(power), DECIMAL128); in applyPrefix()
310 if (power < 0) { in applyPrefix()
319 public Factor power(int power) { in power() argument
321 if (power == 0) return result; in power()
322 if (power > 0) { in power()
[all …]
/third_party/node/deps/icu-small/source/i18n/
Dunits_converter.cpp52 void U_I18N_API Factor::power(int32_t power) { in power() function in units::Factor
55 constantExponents[i] *= power; in power()
58 … bool shouldFlip = power < 0; // This means that after applying the absolute power, we should flip in power()
61 factorNum = std::pow(factorNum, std::abs(power)); in power()
62 factorDen = std::pow(factorDen, std::abs(power)); in power()
152 int32_t power = in addFactorElement() local
169 power = static_cast<int32_t>(strToDouble(powerStr, status)); in addFactorElement()
174 addSingleFactorConstant(baseStr, power, signum, factor, status); in addFactorElement()
236 singleFactor.power(singleUnit.dimensionality); in loadCompoundFactor()
365 void U_I18N_API addSingleFactorConstant(StringPiece baseStr, int32_t power, Signum signum, in addSingleFactorConstant() argument
[all …]
/third_party/ffmpeg/libavfilter/
Dvf_boxblur.c46 int power[4]; member
105 s->power[Y] = s->luma_param.power; in config_input()
106 s->power[U] = s->power[V] = s->chroma_param.power; in config_input()
107 s->power[A] = s->alpha_param.power; in config_input()
168 int len, int radius, int power, uint8_t *temp[2], int pixsize) in blur_power() argument
172 if (radius && power) { in blur_power()
174 for (; power > 2; power--) { in blur_power()
179 if (power > 1) { in blur_power()
202 int w, int h, int radius, int power, uint8_t *temp[2], int pixsize) in hblur() argument
211 w, radius, power, temp, pixsize); in hblur()
[all …]
Dboxblur.c70 if (chroma_param->power < 0) in ff_boxblur_eval_filter_params()
71 chroma_param->power = luma_param->power; in ff_boxblur_eval_filter_params()
78 if (alpha_param->power < 0) in ff_boxblur_eval_filter_params()
79 alpha_param->power = luma_param->power; in ff_boxblur_eval_filter_params()
108 luma_param ->radius, luma_param ->power, in ff_boxblur_eval_filter_params()
109 chroma_param->radius, chroma_param->power, in ff_boxblur_eval_filter_params()
110 alpha_param ->radius, alpha_param ->power, in ff_boxblur_eval_filter_params()
Dvf_avgblur_opencl.c51 int power[4]; member
105 s->power[i] = 1; in avgblur_opencl_make_filter_params()
132 s->power[Y] = s->luma_param.power; in boxblur_opencl_make_filter_params()
133 s->power[U] = s->power[V] = s->chroma_param.power; in boxblur_opencl_make_filter_params()
134 s->power[A] = s->alpha_param.power; in boxblur_opencl_make_filter_params()
137 if (s->power[i] == 0) { in boxblur_opencl_make_filter_params()
138 s->power[i] = 1; in boxblur_opencl_make_filter_params()
210 for (i = 0; i < ctx->power[p]; i++) { in avgblur_opencl_filter_frame()
364 …How many times should the boxblur be applied to luma", OFFSET(luma_param.power), AV_OPT_TYPE_INT,…
365 …How many times should the boxblur be applied to luma", OFFSET(luma_param.power), AV_OPT_TYPE_INT,…
[all …]
Daf_volumedetect.c73 uint64_t nb_samples = 0, power = 0, nb_samples_shift = 0, sum = 0; in print_stats() local
89 power += (i - 0x8000) * (i - 0x8000) * (vd->histogram[i] >> shift); in print_stats()
93 power = (power + nb_samples_shift / 2) / nb_samples_shift; in print_stats()
94 av_assert0(power <= 0x8000 * 0x8000); in print_stats()
95 av_log(ctx, AV_LOG_INFO, "mean_volume: %.1f dB\n", -logdb(power)); in print_stats()
/third_party/icu/icu4c/source/i18n/
Dunits_converter.cpp52 void U_I18N_API Factor::power(int32_t power) { in power() function in units::Factor
55 constantExponents[i] *= power; in power()
58 … bool shouldFlip = power < 0; // This means that after applying the absolute power, we should flip in power()
61 factorNum = std::pow(factorNum, std::abs(power)); in power()
62 factorDen = std::pow(factorDen, std::abs(power)); in power()
152 int32_t power = in addFactorElement() local
169 power = static_cast<int32_t>(strToDouble(powerStr, status)); in addFactorElement()
174 addSingleFactorConstant(baseStr, power, signum, factor, status); in addFactorElement()
236 singleFactor.power(singleUnit.dimensionality); in loadCompoundFactor()
365 void U_I18N_API addSingleFactorConstant(StringPiece baseStr, int32_t power, Signum signum, in addSingleFactorConstant() argument
[all …]
/third_party/skia/third_party/externals/icu/source/i18n/
Dunits_converter.cpp51 void U_I18N_API Factor::power(int32_t power) { in power() function in units::Factor
54 constantExponents[i] *= power; in power()
57 … bool shouldFlip = power < 0; // This means that after applying the absolute power, we should flip in power()
60 factorNum = std::pow(factorNum, std::abs(power)); in power()
61 factorDen = std::pow(factorDen, std::abs(power)); in power()
151 int32_t power = in addFactorElement() local
168 power = static_cast<int32_t>(strToDouble(powerStr, status)); in addFactorElement()
173 addSingleFactorConstant(baseStr, power, signum, factor, status); in addFactorElement()
235 singleFactor.power(singleUnit.dimensionality); in loadCompoundFactor()
364 void U_I18N_API addSingleFactorConstant(StringPiece baseStr, int32_t power, Signum signum, in addSingleFactorConstant() argument
[all …]
/third_party/vk-gl-cts/external/vulkan-docs/src/chapters/VK_EXT_display_control/
Ddisplay_control.txt7 [open,refpage='vkDisplayPowerControlEXT',desc='Set the power state of a display',type='protos']
9 To set the power state of a display, call:
14 * pname:display is the display whose power state is modified.
16 structure specifying the new power state of pname:display.
21 [open,refpage='VkDisplayPowerInfoEXT',desc='Describe the power state of a display',type='structs']
31 new power state of the display.
36 [open,refpage='VkDisplayPowerStateEXT',desc='Possible power states for a display',type='enums']
40 the new power state of a display, are:
47 put into a low power mode, from which it may: be able to transition back
Ddisplay_control.adoc7 [open,refpage='vkDisplayPowerControlEXT',desc='Set the power state of a display',type='protos']
11 To set the power state of a display, call:
16 * pname:display is the display whose power state is modified.
18 structure specifying the new power state of pname:display.
25 [open,refpage='VkDisplayPowerInfoEXT',desc='Describe the power state of a display',type='structs']
35 new power state of the display.
40 [open,refpage='VkDisplayPowerStateEXT',desc='Possible power states for a display',type='enums']
43 the new power state of a display, are:
50 put into a low power mode, from which it may: be able to transition back
/third_party/ltp/testcases/misc/math/
D.gitignore26 /float/power/genceil
27 /float/power/genfabs
28 /float/power/genfloor
29 /float/power/genfmod
30 /float/power/genpow
31 /float/power/genpower
32 /float/power/gensqrt
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/number/
DScale.java87 public static Scale powerOfTen(int power) { in powerOfTen() argument
88 if (power == 0) { in powerOfTen()
90 } else if (power == 2) { in powerOfTen()
92 } else if (power == 3) { in powerOfTen()
95 return new Scale(power, null); in powerOfTen()
145 public static Scale byDoubleAndPowerOfTen(double multiplicand, int power) { in byDoubleAndPowerOfTen() argument
146 return new Scale(power, BigDecimal.valueOf(multiplicand)); in byDoubleAndPowerOfTen()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
DScale.java88 public static Scale powerOfTen(int power) { in powerOfTen() argument
89 if (power == 0) { in powerOfTen()
91 } else if (power == 2) { in powerOfTen()
93 } else if (power == 3) { in powerOfTen()
96 return new Scale(power, null); in powerOfTen()
149 public static Scale byDoubleAndPowerOfTen(double multiplicand, int power) { in byDoubleAndPowerOfTen() argument
150 return new Scale(power, BigDecimal.valueOf(multiplicand)); in byDoubleAndPowerOfTen()
/third_party/node/deps/v8/src/base/numbers/
Dfast-dtoa.cc208 static void BiggestPowerTen(uint32_t number, int number_bits, uint32_t* power, in BiggestPowerTen() argument
215 *power = kTen9; in BiggestPowerTen()
224 *power = kTen8; in BiggestPowerTen()
233 *power = kTen7; in BiggestPowerTen()
243 *power = kTen6; in BiggestPowerTen()
252 *power = kTen5; in BiggestPowerTen()
261 *power = kTen4; in BiggestPowerTen()
271 *power = 1000; in BiggestPowerTen()
280 *power = 100; in BiggestPowerTen()
289 *power = 10; in BiggestPowerTen()
[all …]
/third_party/ffmpeg/libavcodec/
Dcelp_math.c48 int ff_exp2(uint16_t power) in ff_exp2() argument
50 unsigned int result= exp2a[power>>10] + 0x10000; in ff_exp2()
52 av_assert2(power <= 0x7fff); in ff_exp2()
54 result= (result<<3) + ((result*exp2b[(power>>5)&31])>>17); in ff_exp2()
55 return result + ((result*(power&31)*89)>>22); in ff_exp2()
/third_party/rust/crates/minimal-lexical/etc/correctness/test-parse-random/
Du64-pow2.rs18 let power: u64 = 1 << exp; in main() localVariable
19 validate(&power.to_string()); in main()
21 validate(&(power + offset).to_string()); in main()
22 validate(&(power - offset).to_string()); in main()
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/
Dpow10_helper_test.cc29 int power; // Testing Pow10(power) member
111 EXPECT_EQ(Pow10(test_case.power), in TEST()
113 << absl::StrFormat("Failure for Pow10(%d): %a vs %a", test_case.power, in TEST()
114 Pow10(test_case.power), in TEST()
/third_party/skia/third_party/externals/angle2/extensions/
DEGL_ANGLE_power_preference.txt36 This extension allows selection of the high- or low-power GPU on
71 created on the integrated (low-power) or discrete (high-power) GPU
86 hold on the high-power GPU.
92 its hold on the high-power GPU.
114 transitions between the low-power and high-power GPUs. For calls
/third_party/openGLES/extensions/OES/
DOES_texture_npot.txt62 non-power of two 2D textures, cubemaps and for 3D textures, if
67 rules added for non-power of two textures i.e. if the texture wrap
69 LINEAR and the texture is a non-power-of-two texture, then sampling
80 is not a power of two, the error INVALID_VALUE is generated."
84 "If any dimension of any array in a mipmap is not a power of two
86 the mipmap is described as a non-power-of-two texture.
87 Non-power-of-two textures have restrictions on the allowed
96 power or two, the error INVALID_OPERATION is generated."
102 image is a non-power-of-two image (as described in the
108 images are non-power-of-two images, and either the texture
[all …]

12345678910>>...43