Searched refs:pow2 (Results 1 - 8 of 8) sorted by relevance

/opensolaris-onvv-gate/usr/src/lib/libast/common/comp/
H A Dfrexp.c41 #define pow2(i) (_pow_.f=1,_pow_.e[_ast_dbl_exp_index]+=((i)<<_ast_dbl_exp_shift),_pow_.f)
64 #define pow2(i) pow2tab[i]
90 if (g < pow2(x))
92 else if (k == 1 && g < pow2(x+1))
97 if (g == pow2(x))
106 if (f > pow2(x))
108 else if (k == 1 && f > pow2(x-1))
113 if (f == pow2(x))
126 f /= pow2(-x);
128 f *= pow2(
[all...]
H A Dfrexpl.c45 #define pow2(i) (_pow_.f=1,_pow_.e[_ast_fltmax_exp_index]+=((i)<<_ast_fltmax_exp_shift),_pow_.f)
68 #define pow2(i) (pow2tab[i])
96 if (g < pow2(x))
98 else if (k == 1 && g < pow2(x+1))
103 if (g == pow2(x))
112 if (f > pow2(x))
114 else if (k == 1 && f > pow2(x-1))
119 if (f == pow2(x))
132 f /= pow2(-x);
134 f *= pow2(
[all...]
/opensolaris-onvv-gate/usr/src/cmd/spell/
H A Dhash.c50 static long pow2[NC*2]; variable
74 for (lp = pow2; (c = *s++) != 0; ) {
91 pow2[0] = 1L<<(HASHWIDTH-CHARWIDTH-2);
93 pow2[i+1] = (pow2[i]<<LOCHWIDTH) % hashsize;
94 pow2[i+2] = (pow2[i+1]<<HICHWIDTH) % hashsize;
/opensolaris-onvv-gate/usr/src/tools/ctf/cvt/
H A Dctfmerge.c441 tdata_t *pow1, *pow2; local
472 pow2 = fifo_remove(wq->wq_queue);
480 (void *)pow1, (void *)pow2);
481 merge_into_master(pow1, pow2, NULL, 0);
496 fifo_add(wq->wq_queue, pow2);
498 pthread_self(), (void *)pow2, fifo_len(wq->wq_queue),
/opensolaris-onvv-gate/usr/src/common/openssl/crypto/ec/
H A Decp_smpl.c1540 size_t pow2 = 0; local
1565 pow2 = 1;
1566 while (num > pow2)
1567 pow2 <<= 1;
1568 /* Now pow2 is the smallest power of 2 satifsying pow2 >= num.
1570 pow2 <<= 1;
1572 heap = OPENSSL_malloc(pow2 * sizeof heap[0]);
1590 for (i = pow2/2 - 1; i > 0; i--)
1593 heap[pow2/
[all...]
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/
H A Ddump.c1233 U32 pow2 = 2, keys = HvKEYS(sv); local
1273 pow2 = pow2 << 1;
1275 theoret += theoret * (theoret-1)/pow2;
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/Math/
H A DBigRat.pm899 my $pow2 = $self->__one();
904 $pow2->bmul($x) if $y1->is_odd();
908 $x->bmul($pow2) unless $pow2->is_one();
/opensolaris-onvv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/Math/BigInt/
H A DCalc.pm1269 my $pow2 = _one();
1275 _mul($c,$pow2,$cx) if substr($y_bin,$len,1) eq '1'; # is odd?
1279 _mul($c,$cx,$pow2);

Completed in 122 milliseconds