Home
last modified time | relevance | path

Searched refs:n0 (Results 1 – 25 of 33) sorted by relevance

12

/titanic_44/usr/src/lib/libbc/libc/gen/common/
H A Dfmod.c31 static int n0 = 0, n1 = 1; variable
47 px[n0] = (px[n0] & 0x7fffffff) | (py[n0] & 0x80000000); in copysign()
64 return ((px[n0] & 0x7ff00000) != 0x7ff00000); in finite()
71 k = px[n0] & 0x7ff00000; in ilogb()
73 if ((px[n1] | (px[n0] & 0x7fffffff)) == 0) in ilogb()
77 return ((px[n0] & 0x7ff00000) >> 20) - 1075; in ilogb()
90 k = (px[n0] & 0x7ff00000) >> 20; in scalbn()
93 if ((px[n1] | (px[n0] & 0x7fffffff)) == 0) in scalbn()
97 k = ((px[n0] & 0x7ff00000) >> 20) - 52; in scalbn()
109 px[n0] = (px[n0] & 0x800fffff) | (k << 20); in scalbn()
[all …]
/titanic_44/usr/src/lib/libm/common/Q/
H A Dhypotl.c68 int n0, n1, n2, n3; in hypotl() local
76 n0 = 0; in hypotl()
81 n0 = 3; in hypotl()
87 px[n0] &= 0x7fffffff; /* clear sign bit of x and y */ in hypotl()
88 py[n0] &= 0x7fffffff; in hypotl()
90 nx = px[n0] & k; /* exponent of x and y */ in hypotl()
91 ny = py[n0] & k; in hypotl()
107 pt1[n0] = px[n0]; in hypotl()
114 py1[n0] = py[n0]; in hypotl()
118 pt1[n0] = px[n0]; in hypotl()
[all …]
H A Dnextafterl.c36 #define n0 0 macro
45 ++px[n0]; \
51 --px[n0]; \
54 #define n0 2 macro
67 px[n1] = 0x80000000, ++px[n0]; \
72 if ((--px[n0] & 0x7fff) != 0) \
88 px[n0] = py[n0] & XSGNMSK; in nextafterl()
93 if ((px[n0] & XSGNMSK) == 0) { /* x > 0.0 */ in nextafterl()
H A Dcbrtl.c35 #define n0 0 macro
56 py[1 - n0] += 2; in cbrtl()
57 if (py[1 - n0] == 0) in cbrtl()
58 py[n0] += 1; in cbrtl()
H A Dscalbl.c38 #define n0 0 macro
51 if ((py[n0] & 0x7fff0000) == 0x7fff0000) { in scalbl()
52 if ((py[n0] & 0x80000000) != 0) in scalbl()
/titanic_44/usr/src/lib/libast/common/uwin/
H A Dsupport.c426 static const n0=3,n1=2,n2=1,n3=0;
428 static const n0=0,n1=1,n2=2,n3=3;
442 xexp = px[n0] & mexp ; /* exponent of x */
443 yexp = py[n0] & mexp ; /* exponent of y */
444 sign = px[n0] &0x8000; /* sign of x */
458 if(yexp==0) {t=1.0,pt[n0]+=m57; y*=t; nx=m57;}
461 if( yexp <= m57 ) {py[n0]+=m57; nx+=m57; yexp+=m57;}
464 py[n0] &= 0x7fff;
465 px[n0] &= 0x7fff;
476 xexp=px[n0]&mexp; /* exponent of x */
[all …]
/titanic_44/usr/src/lib/libmvec/common/
H A D__vcosbig_ultra3.c107 int n0, n1, n2; in __vlibm_vcos_big_ultra3() local
173 n0 = (int) (x0 * invpio2 + half[xsb0]); in __vlibm_vcos_big_ultra3()
176 fn0 = (double) n0; in __vlibm_vcos_big_ultra3()
179 n0 = (n0 + 1) & 3; /* Add 1 (before the mod) to make sin into cos */ in __vlibm_vcos_big_ultra3()
219 i = ((xsb0 & ~0x80000000) - thresh[n0&1]) >> 31; in __vlibm_vcos_big_ultra3()
257 n0 ^= (xsb0 & ~(n0 << 1)); in __vlibm_vcos_big_ultra3()
263 a0 = __vlibm_TBL_sincos_hi[j0+n0]; in __vlibm_vcos_big_ultra3()
266 t0 = (__vlibm_TBL_sincos_hi[j0+((n0+xsb0)&3)] * w0 + a0 * t0) + __vlibm_TBL_sincos_lo[j0+n0]; in __vlibm_vcos_big_ultra3()
275 j0 = n0 & 1; in __vlibm_vcos_big_ultra3()
307 t0 = x0_or_one[n0] + (y0_or_zero[n0] + x0_or_one[n0] * t0); in __vlibm_vcos_big_ultra3()
[all …]
H A D__vsinbig_ultra3.c107 int n0, n1, n2; in __vlibm_vsin_big_ultra3() local
173 n0 = (int) (x0 * invpio2 + half[xsb0]); in __vlibm_vsin_big_ultra3()
176 fn0 = (double) n0; in __vlibm_vsin_big_ultra3()
179 n0 &= 3; in __vlibm_vsin_big_ultra3()
219 i = ((xsb0 & ~0x80000000) - thresh[n0&1]) >> 31; in __vlibm_vsin_big_ultra3()
257 n0 ^= (xsb0 & ~(n0 << 1)); in __vlibm_vsin_big_ultra3()
263 a0 = __vlibm_TBL_sincos_hi[j0+n0]; in __vlibm_vsin_big_ultra3()
266 t0 = (__vlibm_TBL_sincos_hi[j0+((n0+xsb0)&3)] * w0 + a0 * t0) + __vlibm_TBL_sincos_lo[j0+n0]; in __vlibm_vsin_big_ultra3()
275 j0 = n0 & 1; in __vlibm_vsin_big_ultra3()
307 t0 = x0_or_one[n0] + (y0_or_zero[n0] + x0_or_one[n0] * t0); in __vlibm_vsin_big_ultra3()
[all …]
H A D__vcos.c535 int n0, n1, n2; in __vcos() local
620 n0 = (int) (x0 * invpio2 + half[xsb0]); in __vcos()
623 fn0 = (double) n0; in __vcos()
626 n0 = (n0 + 1) & 3; /* Add 1 (before the mod) to make sin into cos */ in __vcos()
666 i = ((xsb0 & ~0x80000000) - thresh[n0&1]) >> 31; in __vcos()
704 n0 ^= (xsb0 & ~(n0 << 1)); in __vcos()
710 a0 = __vlibm_TBL_sincos_hi[j0+n0]; in __vcos()
713 t0 = (__vlibm_TBL_sincos_hi[j0+((n0+xsb0)&3)] * w0 + a0 * t0) + __vlibm_TBL_sincos_lo[j0+n0]; in __vcos()
722 j0 = n0 & 1; in __vcos()
754 t0 = x0_or_one[n0] + (y0_or_zero[n0] + x0_or_one[n0] * t0); in __vcos()
[all …]
H A D__vsincos.c727 int n0, n1, n2; in __vsincos() local
855 n0 = (int) (x0 * invpio2 + half[xsb0]); in __vsincos()
858 fn0 = (double) n0; in __vsincos()
861 n0 &= 3; in __vsincos()
941 n0 ^= (xsb0 & ~(n0 << 1)); in __vsincos()
948 a1_0 = __vlibm_TBL_sincos_hi[j0+n0]; in __vsincos()
952 a2_0 = __vlibm_TBL_sincos_hi[j0+((n0+xsb0)&3)]; in __vsincos()
956 t2_0 = __vlibm_TBL_sincos_lo[j0+((n0+xsb0)&3)] - (a1_0*w0 - a2_0*t0); in __vsincos()
972 t1_0 += __vlibm_TBL_sincos_lo[j0+n0]; in __vsincos()
1009 n0 ^= (xsb0 & ~(n0 << 1)); in __vsincos()
[all …]
H A D__vsin.c514 int n0, n1, n2; in __vsin() local
628 n0 = (int) (x0 * invpio2 + half[xsb0]); in __vsin()
631 fn0 = (double) n0; in __vsin()
634 n0 &= 3; in __vsin()
674 i = ((xsb0 & ~0x80000000) - thresh[n0&1]) >> 31; in __vsin()
712 n0 ^= (xsb0 & ~(n0 << 1)); in __vsin()
718 a0 = __vlibm_TBL_sincos_hi[j0+n0]; in __vsin()
721 t0 = (__vlibm_TBL_sincos_hi[j0+((n0+xsb0)&3)] * w0 + a0 * t0) + __vlibm_TBL_sincos_lo[j0+n0]; in __vsin()
730 j0 = n0 & 1; in __vsin()
762 t0 = x0_or_one[n0] + (y0_or_zero[n0] + x0_or_one[n0] * t0); in __vsin()
[all …]
H A D__vlog.c670 int n0, n1, n2, n3; in __vlog() local
707 n0 += (e >> 20); in __vlog()
760 *y = (n0 * ln2hi + TBL[i0+2]) + (h0 + (l0 + in __vlog()
761 (n0 * ln2lo + TBL[i0+3]) + b0)); in __vlog()
H A D__vsincosf.c171 int n0 = 0, n1 = 0, n2 = 0, n3, hx, ix, medium; in __vsincosf() local
209 n0 = LO(z0); in __vsincosf()
244 if (n0 & 2) { in __vsincosf()
261 if (n0 & 1) { in __vsincosf()
H A D__vcosf.c151 int n0 = 0, n1 = 0, n2 = 0, n3, hx, ix, medium; in __vcosf() local
186 n0 = LO(z0) + 1; in __vcosf()
207 hx = (n0 & 1) | ((n1 & 1) << 1) | ((n2 & 1) << 2) | in __vcosf()
354 *y = (n0 & 2)? -f0 : f0; in __vcosf()
H A D__vsinf.c155 int n0 = 0, n1 = 0, n2 = 0, n3, hx, ix, medium; in __vsinf() local
190 n0 = LO(z0); in __vsinf()
211 hx = (n0 & 1) | ((n1 & 1) << 1) | ((n2 & 1) << 2) | in __vsinf()
358 *y = (n0 & 2)? -f0 : f0; in __vsinf()
/titanic_44/usr/src/lib/libm/common/m9x/
H A Dnexttowardl.c36 #define n0 0 macro
45 ++px[n0]; \
51 --px[n0]; \
54 #define n0 2 macro
67 px[n1] = 0x80000000, ++px[n0]; \
72 if ((--px[n0] & 0x7fff) != 0) \
88 px[n0] = py[n0] & XSGNMSK; in nexttowardl()
93 if ((px[n0] & XSGNMSK) == 0) { /* x > 0.0 */ in nexttowardl()
/titanic_44/usr/src/lib/libm/common/LD/
H A Dnextafterl.c36 #define n0 0 macro
45 ++px[n0]; \
51 --px[n0]; \
54 #define n0 2 macro
67 px[n1] = 0x80000000, ++px[n0]; \
72 if ((--px[n0] & 0x7fff) != 0) \
88 px[n0] = py[n0] & XSGNMSK; in nextafterl()
93 if ((px[n0] & XSGNMSK) == 0) { /* x > 0.0 */ in nextafterl()
H A Dcbrtl.c42 int n, m, m3, n0, sx; in cbrtl() local
48 n0 = 0; in cbrtl()
50 n0 = 1; in cbrtl()
59 py[1 - n0] += 2; in cbrtl()
60 if (py[1 - n0] == 0) in cbrtl()
61 py[n0] += 1; in cbrtl()
/titanic_44/usr/src/cmd/cmd-inet/usr.bin/telnet/
H A Dterminal.c107 register int n, n0, n1; local
109 n0 = ring_full_count(&ttyoring);
129 if (n1 == n && n0 > n) {
130 n1 = n0 - n;
146 if (n == n0) {
147 if (n0)
151 return (n0 - n + 1);
/titanic_44/usr/src/cmd/diff/
H A Ddiffh.c51 long n0, n1; /* scan pointer in each */ variable
149 s0 = getl(0, ++n0); in main()
157 clrl(0, n0); in main()
185 s0 = getl(0, n0+i); in easysynch()
190 if (cmp(getl(0, n0+i-m), in easysynch()
202 if (cmp(getl(0, n0+k-m), in easysynch()
220 change(n0-1, 0, n1, b, "a"); in output()
222 change(n0, a, n1-1, 0, "d"); in output()
224 change(n0, a, n1, b, "c"); in output()
226 s = getl(0, n0+i); in output()
[all …]
/titanic_44/usr/src/lib/libresolv2/common/resolv/
H A Dres_mkquery.c241 int n0, /*%< current offset in buffer */ in res_nopt() argument
256 cp = buf + n0; in res_nopt()
295 int n0, /*%< current offset in buffer */ in res_nopt_rdata() argument
310 cp = buf + n0; in res_nopt_rdata()
/titanic_44/usr/src/common/bignum/
H A Dbignumimpl.c1664 big_mont_mul(BIGNUM *ret, BIGNUM *a, BIGNUM *b, BIGNUM *n, BIG_CHUNK_TYPE n0) in big_mont_mul() argument
1705 digit = *rrplusi * n0; in big_mont_mul()
1721 digit = *rrplusi * n0; in big_mont_mul()
1841 big_mont_conv(BIGNUM *result, BIGNUM *a, BIGNUM *n, BIG_CHUNK_TYPE n0, in big_mont_conv() argument
1869 if ((err = big_mont_mul(&rr, n_rr, a, n, n0)) != BIG_OK) { in big_mont_conv()
1892 BIGNUM *tmp, BIG_CHUNK_TYPE n0) in big_modexp_ncp_int() argument
1932 if ((err = big_mont_mul(&tmp1, ma, ma, n, n0)) != BIG_OK) { in big_modexp_ncp_int()
1939 &(apowers[i - 1]), n, n0)) != BIG_OK) { in big_modexp_ncp_int()
1955 tmp, tmp, n, n0)) != BIG_OK) { in big_modexp_ncp_int()
1970 tmp, tmp, n, n0)) != in big_modexp_ncp_int()
[all …]
H A Dbignum.h111 BIGNUM *tmp, BIG_CHUNK_TYPE n0, void *ncp, void *req);
171 BIGNUM *a, BIGNUM *b, BIGNUM *n, BIG_CHUNK_TYPE n0);
/titanic_44/usr/src/lib/libmvec/common/vis/
H A D__vsincosf.S82 #define n0 STACK_BIAS-0x50 macro
109 ! o0 n0
446 st %f11,[%fp+n0]
466 ld [%fp+n0],%o0
539 ld [%fp+n0],%o0
548 stx %g1,[%fp+n0]
627 ldd [%fp+n0],%f30
H A D__vsin.S93 #define n0 STACK_BIAS-0x2c macro
1398 ! o3 n0
1404 ! f2 n0,y0
1533 st %f3,[%fp+n0]
1574 ld [%fp+n0],%o3
1829 ld [%fp+n0],%o3
2768 st %f3,[%fp+n0]
2774 ld [%fp+n0],%o3
2854 ld [%fp+n0],%o3

12