/haiku/src/preferences/screen/ |
H A D | Utility.cpp | 6 max = (int32)pow(10, (float)max);
|
/haiku/src/add-ons/translators/exr/ |
H A D | EXRGamma.cpp | 57 m (Imath::Math<float>::pow(2, exposure + 2.47393)), 59 kl (Imath::Math<float>::pow(2, kneeLow)), 60 f (findKneeF (Imath::Math<float>::pow(2, kneeHigh) - kl, 61 Imath::Math<float>::pow(2, 3.5) - kl)), 62 s (255.0 * Imath::Math<float>::pow(2, -3.5 * g)) 93 x = Imath::Math<float>::pow (x, g);
|
/haiku/src/add-ons/kernel/file_systems/reiserfs/ |
H A D | hashes.cpp | 181 int j, pow; local 185 for (pow=1,i=1; i < len; i++) pow = pow * 10; 190 a = (msg[0] - 48) * pow; 194 for (pow=1,j=i; j < len-1; j++) pow = pow * 10; 195 a = a + c * pow; 200 for (pow [all...] |
/haiku/src/add-ons/translators/wonderbrush/support/ |
H A D | lab_convert.cpp | 29 table[i + GAMMA_ZERO_ENTRIES] = (uint8)(pow((float)i / (float)(GAMMA_ENTRIES - 1), 0.4) * 255.0 + 0.5); 41 table[i] = pow((float)i / 255.0, 2.5); 145 R = (uint8)(pow(linearR, 0.4) * 255.0 + 0.5); 146 G = (uint8)(pow(linearG, 0.4) * 255.0 + 0.5); 147 B = (uint8)(pow(linearB, 0.4) * 255.0 + 0.5);*/ 151 R = (uint8)constrain_int32_0_255((int32)(pow(linearR, 0.4) * 255.0 + 0.5)); 152 G = (uint8)constrain_int32_0_255((int32)(pow(linearG, 0.4) * 255.0 + 0.5)); 153 B = (uint8)constrain_int32_0_255((int32)(pow(linearB, 0.4) * 255.0 + 0.5)); 166 return pow(t, 1.0 / 3.0); 174 /* float linearR = pow((floa [all...] |
/haiku/src/apps/cortex/ValControl/ |
H A D | NumericValControl.cpp | 192 double factor = pow(10, -fFractionalDigits); 205 double factor = pow(10, fFractionalDigits); 242 // pow( 253 double ret = (double)_ValueFixed() / pow(10, fFractionalDigits); 272 double scaleFactor = pow(10, fFractionalDigits); 379 int64 segmentFactor = (int64)pow(10, fFractionalDigits + segment->scaleFactor()); 541 double max = pow(10, fWholeDigits) - pow(10, -fFractionalDigits); 574 acc += digitSegment->value() * (int64)pow(10, 619 int64 hiCut = fixed % (int64)pow(1 [all...] |
/haiku/src/libs/stdc++/legacy/ |
H A D | cinst.cc | 129 template c pow (ccr, ccr); 132 template c pow (ccr, f); 135 template c pow (ccr, int); 138 template c pow (f, ccr);
|
/haiku/src/system/libroot/posix/musl/math/ |
H A D | exp10.c | 22 return pow(10.0, x);
|
H A D | tgamma.c | 168 z = pow(y, 0.5*z);
|
H A D | powl.c | 43 * The relative error of pow(x,y) can be estimated 64 * pow overflow x**y > MAXNUM INFINITY 65 * pow underflow x**y < 1/MAXNUM 0.0 66 * pow domain x<0 and y noninteger 0.0 75 return pow(x, y); 520 return pow(x, y);
|
/haiku/headers/libs/agg/ |
H A D | agg_gamma_lut.h | 85 uround(pow(i / double(gamma_mask), m_gamma) * double(hi_res_mask)); 92 uround(pow(i / double(hi_res_mask), inv_g) * double(gamma_mask));
|
H A D | agg_gamma_functions.h | 43 return pow(x, m_gamma);
|
/haiku/src/apps/cortex/DiagramView/ |
H A D | DiagramWire.cpp | 146 length = sqrt(pow(b.x - a.x, 2) + pow(b.y - a.y, 2));
|
/haiku/src/kits/shared/ |
H A D | ExpressionParser.cpp | 548 value = value.pow(_ParseUnary()); 684 } else if (strcasecmp("pow", token.string.String()) == 0) { 686 return _ParseFactorial(values[0].pow(values[1])); 759 return value.pow(value) / value.exp() 762 + (MAPM(1) / (MAPM(288) * value.pow(2))) 763 - (MAPM(139) / (MAPM(51840) * value.pow(3))) 764 - (MAPM(571) / (MAPM(2488320) * value.pow(4))) 765 + (MAPM(163879) / (MAPM(209018880) * value.pow(5))) 768 + MAPM(84869155)) * value.pow(6))) 771 + MAPM(1018429860)) * value.pow( [all...] |
/haiku/src/preferences/input/ |
H A D | InputMouse.cpp | 173 (int32)pow(2, value * 6.0 / 1000) * 8192); 186 (int32)pow(value * 4.0 / 1000, 2) * 16384);
|
/haiku/headers/cpp/std/ |
H A D | complext.cc | 58 pow (const complex<FLOAT>& x, const complex<FLOAT>& y) function 68 pow (const complex<FLOAT>& x, FLOAT y) function 74 pow (FLOAT x, const complex<FLOAT>& y) function 230 pow (const complex<FLOAT>& xin, int y) function
|
H A D | complext.h | 376 pow (const complex<_FLT>&, const complex<_FLT>&) __attribute__ ((const)); 378 pow (const complex<_FLT>&, _FLT) __attribute__ ((const)); 380 pow (const complex<_FLT>&, int) __attribute__ ((const)); 382 pow (_FLT, const complex<_FLT>&) __attribute__ ((const));
|
/haiku/headers/libs/mapm/ |
H A D | m_apm.h | 566 MAPM pow(const MAPM &m,int toDigits) const function in class:MAPM 569 MAPM pow(const MAPM &m) const {return pow(m,digits(m));} function in class:MAPM 648 inline MAPM pow(const MAPM &x,const MAPM &y,int toDigits) function 649 {return x.pow(y,toDigits);} 650 inline MAPM pow(const MAPM &x,const MAPM &y) function 651 {return x.pow(y);}
|
/haiku/src/add-ons/media/media-add-ons/equalizer/ |
H A D | Equalizer.cpp | 138 fGainVector[c][i] = pow(10, adjust[i] / 20) - 1;
|
/haiku/src/apps/mediaplayer/interface/ |
H A D | TransportControlGroup.cpp | 323 db = db * (pow(fabs(kVolumeDbMax), (1.0 / kVolumeDbExpPositive)) 325 db = pow(db, kVolumeDbExpPositive); 328 db = db * (pow(fabs(kVolumeDbMin), (1.0 / kVolumeDbExpNegative)) 330 db = pow(db, kVolumeDbExpNegative); 342 db = pow(db, (1.0 / kVolumeDbExpPositive)); 343 db = db * (fabs(kVolumeDbMax) / pow(fabs(kVolumeDbMax), 347 db = pow(db, (1.0 / kVolumeDbExpNegative)); 348 db = db * (fabs(kVolumeDbMin) / pow(fabs(kVolumeDbMin), 359 return pow(10.0, db / 20.0);
|
/haiku/src/libs/libtelnet/ |
H A D | pk.c | 129 pow(public, secret, modulus, common); 185 pow(root, sk, modulus, pk);
|
/haiku/src/add-ons/screen_savers/flurry/ |
H A D | Flurry.cpp | 171 fFlurryInfo->drag = (float)pow(0.9965, fFlurryInfo->fDeltaTime * 85.0); 194 const double brite = pow(deltaFrameTime, 0.75) * 10.0;
|
/haiku/src/kits/interface/ |
H A D | DecimalSpinner.cpp | 22 return floor(value * pow(10.0, n) + 0.5) / pow(10.0, n);
|
/haiku/src/add-ons/translators/psd/ |
H A D | PSDLoader.cpp | 429 R = R > 0.0031308 ? pow(R, 1.0 / 2.4) * 1.055 - 0.055 431 G = G > 0.0031308 ? pow(G, 1.0 / 2.4) * 1.055 - 0.055 433 B = B > 0.0031308 ? pow(B, 1.0 / 2.4) * 1.055 - 0.055
|
/haiku/src/apps/icon-o-matic/generic/support/ |
H A D | support.cpp | 112 rounded = (int32)(n * pow(10, maxDigits));
|
/haiku/src/system/libroot/posix/crypt/ |
H A D | crypt.cpp | 178 long n = static_cast<long>(pow(2, nLog2));
|