Searched refs:pow (Results 1 - 25 of 45) sorted by relevance

12

/illumos-gate/usr/src/head/iso/
H A Dmath_iso.h84 extern double pow __P((double, double));
95 #pragma does_not_read_global_data(exp, log, log10, pow, sqrt)
100 #pragma does_not_write_global_data(exp, log, log10, pow, sqrt)
105 #pragma no_side_effect(exp, log, log10, pow, sqrt)
161 inline double pow(double __X, int __Y) { return function
162 pow(__X, (double) (__Y)); }
181 inline float pow(float __X, float __Y) { return __powf(__X, __Y); } function
182 inline float pow(float __X, int __Y) { return function
183 pow((double) (__X), (double) (__Y)); }
212 inline long double pow(lon function
214 inline long double pow(long double __X, int __Y) { return function
[all...]
/illumos-gate/usr/src/lib/libmp/
H A DMakefile.com31 OBJECTS= gcd.o madd.o mdiv.o mout.o msqrt.o mult.o pow.o util.o
/illumos-gate/usr/src/lib/libshell/common/tests/
H A Darith.sh146 if [[ $(( pow(2,3) )) != 8 ]]
147 then err_exit '$(( pow(2,3) )) != 8'
149 ( [[ $(( pow(2,(3)) )) == 8 ]] ) 2> /dev/null
151 then err_exit '$(( pow(2,(3)) )) != 8'
289 if (( 2**3 != pow(2,3) ))
292 if (( 2**3*2 != pow(2,3)*2 ))
295 if (( 4**3**2 != pow(4,pow(3,2)) ))
298 if (( (4**3)**2 != pow(pow(
[all...]
/illumos-gate/usr/src/lib/libmp/common/
H A Dlibmp.h68 extern void pow(MINT *, MINT *, MINT *, MINT *);
H A Dold_mp.c47 void pow(MINT *a, MINT *b, MINT *c, MINT *d) { mp_pow(a, b, c, d); } function
/illumos-gate/usr/src/lib/libipmi/common/
H A Dipmi_sdr.c648 (b * pow(10, k1))) * pow(10, k2));
656 (b * pow(10, k1))) * pow(10, k2));
677 *result = pow(10.0, *result);
680 *result = pow(2.0, *result);
683 *result = pow(*result, -1.0); /* 1/x w/o exception */
686 *result = pow(*result, 2.0);
689 *result = pow(*result, 3.0);
/illumos-gate/usr/src/tools/ctf/cvt/
H A Dctfmerge.c106 * The pow number is protected by the queue lock. The master batch ID
373 wip_add_work(wip_t *slot, tdata_t *pow) argument
376 slot->wip_td = pow;
380 (void *)pow, (void *)slot->wip_td);
382 merge_into_master(pow, slot->wip_td, NULL, 0);
383 tdata_free(pow);
393 tdata_t *pow; local
413 pow = fifo_remove(wq->wq_queue);
417 assert(pow != NULL);
427 wip_add_work(wipslot, pow);
[all...]
/illumos-gate/usr/src/lib/libm/common/complex/
H A Dcpow.c73 * x ** u = exp(u*pi i) * pow(|x|, u);
75 * x ** u = pow(x, u);
91 #include "libm.h" /* atan2/exp/fabs/hypot/log/pow/scalbn */
187 /* -x ** u is exp(i*pi*u)*pow(x,u) */
188 r = pow(-x, u);
193 D_RE(ans) = pow(x, u);
225 r = pow(fabs(x + x), u) * exp2(-0.5 * u);
228 r = pow(fabs(x), u) * exp2(0.5 * u);
H A Dcpowf.c84 /* -x ** u is exp(i*pi*u)*pow(x,u) */
113 dr = pow(dsqrt2 * dx, du);
/illumos-gate/usr/src/man/man3m/
H A DMakefile107 pow.3m \
/illumos-gate/usr/src/head/
H A Dtgmath.h68 #undef pow macro
69 #define pow(x, y) __tgmath_pow(x, y) macro
/illumos-gate/usr/src/cmd/sendmail/db/hash/
H A Dhash_rec.c603 u_int32_t pow; local
628 pow = __db_log2(hcp->hdr->max_bucket + 1);
629 if (pow > hcp->hdr->ovfl_point) {
630 hcp->hdr->spares[pow] =
632 hcp->hdr->ovfl_point = pow;
645 pow = 1 << __db_log2(hcp->hdr->max_bucket + 1);
646 hcp->hdr->high_mask = pow - 1;
647 hcp->hdr->low_mask = (pow >> 1) - 1;
/illumos-gate/usr/src/common/mpi/
H A Dmpi.c572 int pow; local
580 if((pow = s_mp_ispow2d(d)) >= 0) {
583 mask = ((mp_digit)1 << pow) - 1;
588 s_mp_div_2d(q, pow);
3345 int pow; local
3353 if (0 <= (pow = s_mp_ispow2d(d))) {
3354 return s_mp_mul_2d(a, (mp_digit)pow);
4539 int pow = 0; local
4542 pow += 16;
4544 pow
[all...]
/illumos-gate/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/
H A DStddevValue.java127 squareOfAverage = squareOfAverage.pow(2);
/illumos-gate/usr/src/cmd/mdb/sparc/kmdb/
H A Dkaif.c331 int pow; local
336 for (pow = 0; len > 1; len /= 256, pow++)
339 return (~((1 << pow) - 1));
/illumos-gate/usr/src/lib/libm/common/C/
H A Dpow.c30 #pragma weak __pow = pow
33 * pow(x,y) return x**y
65 * pow(x,y) returns x**y nearly rounded. In particular
66 * pow(integer,integer)
161 pow(double x, double y) { function
H A Djn.c141 b = pow(0.5*x, (GENERIC) n);
/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/
H A Dzfssubr.c826 int pow; local
837 pow = map[i] * n;
838 if (pow > 255)
839 pow -= 255;
840 ASSERT(pow <= 255);
843 pow -= map[i];
844 if (pow < 0)
845 pow += 255;
846 rows[i][j] = vdev_raidz_pow2[pow];
/illumos-gate/usr/src/cmd/hal/utils/
H A Dacpi.c144 int pow; local
149 if (ioctl(fd, ACPI_DRV_IOC_POWER_STATUS, &pow) < 0) {
155 if (pow > 0) {
/illumos-gate/usr/src/lib/libm1/common/
H A Dlibmv1.c65 #pragma weak pow = __pow macro
/illumos-gate/usr/src/lib/libbc/inc/include/
H A Dmath.h62 extern double pow(/* double x, double y */);
/illumos-gate/usr/src/common/ficl/
H A Dfloat.c374 power = (ficlFloat)pow(10.0, exponent);
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dvdev_raidz.c1093 int pow; local
1104 pow = map[i] * n;
1105 if (pow > 255)
1106 pow -= 255;
1107 ASSERT(pow <= 255);
1110 pow -= map[i];
1111 if (pow < 0)
1112 pow += 255;
1113 rows[i][j] = vdev_raidz_pow2[pow];
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/java_api/src/
H A DTestBean.java231 lowerBound = sign * ((long) Math.pow(2L, power));
233 (nextSign * ((long) Math.pow(2L, nextPower))) - 1);
/illumos-gate/usr/src/cmd/fruadm/
H A Dfruadm.c364 result += (0 * pow(2, cnt));
367 result += (1 * pow(2, cnt));

Completed in 223 milliseconds

12