Home
last modified time | relevance | path

Searched refs:pow (Results 1 – 8 of 8) sorted by last modified time

/qemu/hw/i2c/
H A Dpmbus_device.c19 uint16_t y = (c.m * value + c.b) * pow(10, c.R); in pmbus_data2direct_mode()
26 uint32_t x = (value / pow(10, c.R) - c.b) / c.m; in pmbus_direct_mode2data()
/qemu/tests/data/qobject/
H A Dqdict.txt3761 cvmx-pow-defs.h: 19069
3762 cvmx-pow.h: 59817
/qemu/scripts/oss-fuzz/
H A Dminimize_qtest_trace.py230 leftlength = int(length/pow(2, power))
/qemu/hw/audio/
H A Dfmopl.c633 rate = ((1<<TL_BITS)-1)/pow(10,EG_STEP*t/20); /* dB -> voltage */ in OPLOpenTable()
668 pom = pow( ((double)(EG_ENT-1-i)/EG_ENT) , 8 ) * EG_ENT; in OPLOpenTable()
/qemu/libdecnumber/dpd/
H A Ddecimal64.c759 uInt const *pow; /* work */ in decDigitsFromDPD() local
842 for (pow=&DECPOWERS[4]; *last>=*pow; pow++) dn->digits++;
/qemu/tests/qtest/
H A Dadm1272-test.c86 uint16_t y = (c.m * value + c.b) * pow(10, c.R); in pmbus_data2direct_mode()
93 uint32_t x = (value / pow(10, c.R) - c.b) / c.m; in pmbus_direct_mode2data()
/qemu/libdecnumber/
H A DdecNumber.c3775 uInt u, pow; /* work */ in decToString() local
3860 TODIGIT(u, cut, c, pow); in decToString()
3871 TODIGIT(u, cut, c, pow); in decToString()
3887 TODIGIT(u, cut, c, pow); in decToString()
3905 TODIGIT(u, cut, c, pow); in decToString()
4402 uLong const *pow; /* .. */ in decDivideOp() local
4619 for (pow=&powers[1]; *msu1>=*pow; pow++) exponent--; in decDivideOp()
4620 for (pow=&powers[1]; *msu2>=*pow; pow++) exponent++; in decDivideOp()
4724 for (pow=&powers[1]; thisunit>=*pow; pow++) accdigits++; in decDivideOp()
7918 uInt const *pow; /* work */ local
[all …]
/qemu/include/libdecnumber/
H A DdecNumberLocal.h267 #define TODIGIT(u, cut, c, pow) { \ argument
269 pow=DECPOWERS[cut]*2; \
270 if ((u)>pow) { \
271 pow*=4; \
272 if ((u)>=pow) {(u)-=pow; *(c)+=8;} \
273 pow/=2; \
274 if ((u)>=pow) {(u)-=pow; *(c)+=4;} \
275 pow/=2; \
277 if ((u)>=pow) {(u)-=pow; *(c)+=2;} \
278 pow/=2; \
[all …]