Searched refs:hx (Results 26 - 50 of 159) sorted by relevance

1234567

/freebsd-11-stable/lib/msun/src/
H A De_log10.c45 int32_t i,k,hx; local
48 EXTRACT_WORDS(hx,lx,x);
51 if (hx < 0x00100000) { /* x < 2**-1022 */
52 if (((hx&0x7fffffff)|lx)==0)
54 if (hx<0) return (x-x)/zero; /* log(-#) = NaN */
56 GET_HIGH_WORD(hx,x);
58 if (hx >= 0x7ff00000) return x+x;
59 if (hx == 0x3ff00000 && lx == 0)
61 k += (hx>>20)-1023;
62 hx
[all...]
H A Ds_nexttoward.c37 int32_t hx,ix; local
40 EXTRACT_WORDS(hx,lx,x);
41 ix = hx&0x7fffffff; /* |x| */
54 if(hx>0.0 ^ x < y) { /* x -= ulp */
55 if(lx==0) hx -= 1;
59 if(lx==0) hx += 1;
61 ix = hx&0x7ff00000;
66 INSERT_WORDS(x,hx,lx);
70 INSERT_WORDS(x,hx,lx);
H A Ds_nexttowardf.c28 int32_t hx,ix; local
30 GET_FLOAT_WORD(hx,x);
31 ix = hx&0x7fffffff; /* |x| */
44 if(hx>=0 ^ x < y) /* x -= ulp */
45 hx -= 1;
47 hx += 1;
48 ix = hx&0x7f800000;
53 SET_FLOAT_WORD(x,hx);
57 SET_FLOAT_WORD(x,hx);
H A Ds_roundl.c43 uint16_t hx; local
45 GET_LDBL_EXPSIGN(hx, x);
46 if ((hx & 0x7fff) == 0x7fff)
51 if (!(hx & 0x8000)) {
H A Ds_cbrt.c39 int32_t hx; local
48 EXTRACT_WORDS(hx,low,x);
49 sign=hx&0x80000000; /* sign= sign(x) */
50 hx ^=sign;
51 if(hx>=0x7ff00000) return(x+x); /* cbrt(NaN,INF) is itself */
68 if(hx<0x00100000) { /* zero or subnormal? */
69 if((hx|low)==0)
76 INSERT_WORDS(t,sign|(hx/3+B1),0);
H A Ds_scalbn.c37 int32_t k,hx,lx; local
38 EXTRACT_WORDS(hx,lx,x);
39 k = (hx&0x7ff00000)>>20; /* extract exponent */
41 if ((lx|(hx&0x7fffffff))==0) return x; /* +-0 */
43 GET_HIGH_WORD(hx,x);
44 k = ((hx&0x7ff00000)>>20) - 54;
51 {SET_HIGH_WORD(x,(hx&0x800fffff)|(k<<20)); return x;}
59 SET_HIGH_WORD(x,(hx&0x800fffff)|(k<<20));
H A De_log.c92 int32_t k,hx,i,j; local
95 EXTRACT_WORDS(hx,lx,x);
98 if (hx < 0x00100000) { /* x < 2**-1022 */
99 if (((hx&0x7fffffff)|lx)==0)
101 if (hx<0) return (x-x)/zero; /* log(-#) = NaN */
103 GET_HIGH_WORD(hx,x);
105 if (hx >= 0x7ff00000) return x+x;
106 k += (hx>>20)-1023;
107 hx &= 0x000fffff;
108 i = (hx
[all...]
H A De_expf.c50 u_int32_t hx; local
52 GET_FLOAT_WORD(hx,x);
53 xsb = (hx>>31)&1; /* sign bit of x */
54 hx &= 0x7fffffff; /* high word of |x| */
57 if(hx >= 0x42b17218) { /* if |x|>=88.721... */
58 if(hx>0x7f800000)
60 if(hx==0x7f800000)
67 if(hx > 0x3eb17218) { /* if |x| > 0.5 ln2 */
68 if(hx < 0x3F851592) { /* and |x| < 1.5 ln2 */
78 else if(hx <
[all...]
H A De_fmodl.c43 #define SET_NBIT(hx) ((hx) | (1ULL << LDBL_MANH_SIZE))
46 #define SET_NBIT(hx) (hx)
68 int64_t hx,hz; /* We need a carry bit even if LDBL_MANH_SIZE is 32. */ local
111 /* set up {hx,lx}, {hy,ly} and align y to x */
112 hx = SET_NBIT(ux.bits.manh);
121 hz=hx-hy;lz=lx-ly; if(lx<ly) hz -= 1;
122 if(hz<0){hx = hx
[all...]
H A De_acoshl.c69 int16_t hx; local
72 GET_LDBL_EXPSIGN(hx, x);
73 if (hx < 0x3fff) { /* x < 1, or misnormal */
75 } else if (hx >= BIAS + EXP_LARGE) { /* x >= LARGE */
76 if (hx >= 0x7fff) { /* x is inf, NaN or misnormal */
80 } else if (hx == 0x3fff && x == 1) {
82 } else if (hx >= 0x4000) { /* LARGE > x >= 2, or misnormal */
H A Ds_cexp.c43 uint32_t hx, hy, lx, ly; local
54 EXTRACT_WORDS(hx, lx, x);
56 if (((hx & 0x7fffffff) | lx) == 0)
60 if (lx != 0 || (hx & 0x7fffffff) != 0x7ff00000) {
63 } else if (hx & 0x80000000) {
72 if (hx >= exp_ovfl && hx <= cexp_ovfl) {
H A Ds_cexpf.c43 uint32_t hx, hy; local
54 GET_FLOAT_WORD(hx, x);
56 if ((hx & 0x7fffffff) == 0)
60 if ((hx & 0x7fffffff) != 0x7f800000) {
63 } else if (hx & 0x80000000) {
72 if (hx >= exp_ovfl && hx <= cexp_ovfl) {
H A Ds_cosf.c42 int32_t n, hx, ix; local
44 GET_FLOAT_WORD(hx,x);
45 ix = hx & 0x7fffffff;
54 return -__kernel_cosdf(x + (hx > 0 ? -c2pio2 : c2pio2));
56 if(hx>0)
64 return __kernel_cosdf(x + (hx > 0 ? -c4pio2 : c4pio2));
66 if(hx>0)
H A Ds_sinf.c42 int32_t n, hx, ix; local
44 GET_FLOAT_WORD(hx,x);
45 ix = hx & 0x7fffffff;
54 if(hx>0)
59 return __kernel_sindf((hx > 0 ? s2pio2 : -s2pio2) - x);
63 if(hx>0)
68 return __kernel_sindf(x + (hx > 0 ? -s4pio2 : s4pio2));
H A De_atanh.c48 int32_t hx,ix; local
50 EXTRACT_WORDS(hx,lx,x);
51 ix = hx&0x7fffffff;
63 if(hx>=0) return t; else return -t;
H A De_atanhf.c30 int32_t hx,ix; local
31 GET_FLOAT_WORD(hx,x);
32 ix = hx&0x7fffffff;
44 if(hx>=0) return t; else return -t;
H A De_atanhl.c58 uint16_t hx, ix; local
61 GET_LDBL_EXPSIGN(hx, x);
62 ix = hx & 0x7fff;
73 RETURNI((hx & 0x8000) == 0 ? t : -t);
H A Ds_asinh.c41 int32_t hx,ix; local
42 GET_HIGH_WORD(hx,x);
43 ix = hx&0x7fffffff;
57 if(hx>0) return w; else return -w;
H A Ds_asinhf.c31 int32_t hx,ix; local
32 GET_FLOAT_WORD(hx,x);
33 ix = hx&0x7fffffff;
47 if(hx>0) return w; else return -w;
H A Ds_expm1f.c46 u_int32_t hx; local
48 GET_FLOAT_WORD(hx,x);
49 xsb = hx&0x80000000; /* sign bit of x */
50 hx &= 0x7fffffff; /* high word of |x| */
53 if(hx >= 0x4195b844) { /* if |x|>=27*ln2 */
54 if(hx >= 0x42b17218) { /* if |x|>=88.721... */
55 if(hx>0x7f800000)
57 if(hx==0x7f800000)
68 if(hx > 0x3eb17218) { /* if |x| > 0.5 ln2 */
69 if(hx <
[all...]
H A De_atan2f.c36 int32_t k,m,hx,hy,ix,iy; local
38 GET_FLOAT_WORD(hx,x);
39 ix = hx&0x7fffffff;
45 if(hx==0x3f800000) return atanf(y); /* x=1.0 */
46 m = ((hy>>31)&1)|((hx>>30)&2); /* 2*sign(x)+sign(y) */
87 else if(k<-26&&hx<0) z=0.0; /* 0 > |y|/x > -2**-26 */
H A De_exp.c109 u_int32_t hx; local
111 GET_HIGH_WORD(hx,x);
112 xsb = (hx>>31)&1; /* sign bit of x */
113 hx &= 0x7fffffff; /* high word of |x| */
116 if(hx >= 0x40862E42) { /* if |x|>=709.78... */
117 if(hx>=0x7ff00000) {
120 if(((hx&0xfffff)|lx)!=0)
129 if(hx > 0x3fd62e42) { /* if |x| > 0.5 ln2 */
130 if(hx < 0x3FF0A2B2) { /* and |x| < 1.5 ln2 */
140 else if(hx <
[all...]
/freebsd-11-stable/lib/libc/gen/
H A Dldexp.c90 u_int32_t hx,hy; local
91 GET_HIGH_WORD(hx,x);
93 SET_HIGH_WORD(x,(hx&0x7fffffff)|(hy&0x80000000));
100 int32_t k,hx,lx; local
101 EXTRACT_WORDS(hx,lx,x);
102 k = (hx&0x7ff00000)>>20; /* extract exponent */
104 if ((lx|(hx&0x7fffffff))==0) return x; /* +-0 */
106 GET_HIGH_WORD(hx,x);
107 k = ((hx&0x7ff00000)>>20) - 54;
114 {SET_HIGH_WORD(x,(hx
[all...]
/freebsd-11-stable/kerberos5/lib/libasn1/
H A DMakefile22 ${GEN:S/.x$/.c/:S/.hx$/.h/}
27 GEN_RFC2459= asn1_rfc2459_asn1.x rfc2459_asn1.hx rfc2459_asn1-priv.hx
28 GEN_CMS= asn1_cms_asn1.x cms_asn1.hx cms_asn1-priv.hx
29 GEN_K5= asn1_krb5_asn1.x krb5_asn1.hx krb5_asn1-priv.hx
30 GEN_PKINIT= asn1_pkinit_asn1.x pkinit_asn1.hx pkinit_asn1-priv.hx
31 GEN_PKCS8= asn1_pkcs8_asn1.x pkcs8_asn1.hx pkcs8_asn
[all...]
/freebsd-11-stable/kerberos5/lib/libgssapi_spnego/
H A DMakefile15 ${GEN:S/.x$/.c/:S/.hx$/.h/} \
27 spnego_asn1.hx \
28 spnego_asn1-priv.hx
37 CLEANFILES= ${GEN} ${GEN:S/.x$/.c/:S/.hx$/.h/} \
46 .SUFFIXES: .h .c .x .hx
51 .hx.h:
56 .SUFFIXES: .h .c .x .hx

Completed in 187 milliseconds

1234567