Searched refs:hi (Results 1 - 25 of 56) sorted by relevance

123

/haiku/headers/private/kernel/platform/openfirmware/
H A Dpci.h61 * phys.hi cell: npt000ss bbbbbbbb dddddfff rrrrrrrr
94 #define OFW_PCI_PHYS_HI_BUS(hi) \
95 (((hi) & OFW_PCI_PHYS_HI_BUSMASK) >> OFW_PCI_PHYS_HI_BUSSHIFT)
96 #define OFW_PCI_PHYS_HI_DEVICE(hi) \
97 (((hi) & OFW_PCI_PHYS_HI_DEVICEMASK) >> OFW_PCI_PHYS_HI_DEVICESHIFT)
98 #define OFW_PCI_PHYS_HI_FUNCTION(hi) \
99 (((hi) & OFW_PCI_PHYS_HI_FUNCTIONMASK) >> OFW_PCI_PHYS_HI_FUNCTIONSHIFT)
/haiku/src/system/libroot/posix/musl/math/
H A Dcosl.c12 long double y[2], hi, lo; local
25 hi = y[0];
29 return __cosl(hi, lo);
31 return -__sinl(hi, lo, 1);
33 return -__cosl(hi, lo);
36 return __sinl(hi, lo, 1);
H A Dsinl.c13 long double y[2], hi, lo; local
27 hi = y[0];
31 return __sinl(hi, lo, 1);
33 return __cosl(hi, lo);
35 return -__sinl(hi, lo, 1);
38 return -__cosl(hi, lo);
H A Dfmodl.c62 uint64_t hi, lo, xhi, xlo, yhi, ylo; local
63 xhi = (ux.i2.hi & -1ULL>>16) | 1ULL<<48;
64 yhi = (uy.i2.hi & -1ULL>>16) | 1ULL<<48;
68 hi = xhi - yhi;
71 hi -= 1;
72 if (hi >> 63 == 0) {
73 if ((hi|lo) == 0)
75 xhi = 2*hi + (lo>>63);
82 hi = xhi - yhi;
85 hi
[all...]
H A Dlog10f.c33 float_t hfsq,f,s,z,R,w,t1,t2,dk,hi,lo; local
70 hi = f - hfsq;
71 u.f = hi;
73 hi = u.f;
74 lo = f - hi - hfsq + s*(hfsq+R);
76 return dk*log10_2lo + (lo+hi)*ivln10lo + lo*ivln10hi + hi*ivln10hi + dk*log10_2hi;
H A Dfmal.c47 * of a long double. We maintain the invariant that "hi" stores the high-order
51 long double hi; member in struct:dd
65 ret.hi = a + b;
66 s = ret.hi - a;
67 ret.lo = (a - (ret.hi - s)) + (b - s);
89 u.f = sum.hi;
91 sum.hi = nextafterl(sum.hi, INFINITY * sum.lo);
93 return (sum.hi);
112 * lowest bit of sum.hi t
[all...]
H A Dremquol.c69 uint64_t hi, lo, xhi, xlo, yhi, ylo;
70 xhi = (ux.i2.hi & -1ULL>>16) | 1ULL<<48;
71 yhi = (uy.i2.hi & -1ULL>>16) | 1ULL<<48;
75 hi = xhi - yhi;
78 hi -= 1;
79 if (hi >> 63 == 0) {
80 xhi = 2*hi + (lo>>63);
89 hi = xhi - yhi;
92 hi -= 1;
93 if (hi >> 6
[all...]
H A Dlog10.c39 double_t hfsq,f,s,z,R,w,t1,t2,dk,y,hi,lo,val_hi,val_lo; local
77 /* hi+lo = f - hfsq + s*(hfsq+R) ~ log(1+f) */
78 hi = f - hfsq;
79 u.f = hi;
81 hi = u.f;
82 lo = f - hi - hfsq + s*(hfsq+R);
85 val_hi = hi*ivln10hi;
88 val_lo = dk*log10_2lo + (lo+hi)*ivln10lo + lo*ivln10hi;
H A Dlog2.c30 double_t z, r, r2, r4, y, invc, logc, kd, hi, lo, t1, t2, t3, p; local
46 hi = r * InvLn2hi;
47 lo = r * InvLn2lo + __builtin_fma(r, InvLn2hi, -hi);
52 hi = rhi * InvLn2hi;
59 y = hi + p;
60 lo += hi - y + p;
108 /* hi + lo = r/ln2 + log2(c) + k. */
110 hi = t3 + t1;
111 lo = t3 - hi + t1 + t2;
120 y = lo + r2 * p + hi;
[all...]
H A Dexpm1.c123 double_t y,hi,lo,c,t,e,hxs,hfx,r1,twopk; local
144 hi = x - ln2_hi;
148 hi = x + ln2_hi;
155 hi = x - t*ln2_hi; /* t*ln2_hi is exact here */
158 x = hi-lo;
159 c = (hi-x)-lo;
H A Dexpm1f.c33 float_t y,hi,lo,c,t,e,hxs,hfx,r1,twopk; local
54 hi = x - ln2_hi;
58 hi = x + ln2_hi;
65 hi = x - t*ln2_hi; /* t*ln2_hi is exact here */
68 x = hi-lo;
69 c = (hi-x)-lo;
H A D__fpclassifyl.c37 return u.i2.lo | u.i2.hi ? FP_SUBNORMAL : FP_ZERO;
39 return u.i2.lo | u.i2.hi ? FP_NAN : FP_INFINITE;
H A Dpow.c39 double_t z, r, y, invc, logc, logctail, kd, hi, t1, t2, lo, lo1, lo2, p; local
84 hi = t2 + ar2;
86 lo4 = t2 - hi + ar2;
90 hi = t2 + arhi2;
92 lo4 = t2 - hi + arhi2;
98 y = hi + lo;
99 *tail = hi - y + lo;
145 double_t hi, lo, one = 1.0; local
149 hi = one + y;
150 lo = one - hi
329 double_t hi = log_inline(ix, &lo); local
[all...]
H A Dlog.c30 double_t w, z, r, r2, r3, y, invc, logc, kd, hi, lo; local
56 hi = r + w;
57 lo = r - hi + w;
60 y += hi;
98 /* hi + lo = r + log(c) + k*Ln2. */
100 hi = w + r;
101 lo = w - hi + r + kd * Ln2lo;
103 /* log(x) = lo + (log1p(r) - r) + hi. */
110 r * r2 * (A[1] + r * A[2] + r2 * (A[3] + r * A[4])) + hi;
H A Dhypot.c11 static void sq(double_t *hi, double_t *lo, double x) argument
18 *hi = (double_t)x*x;
19 *lo = xh*xh - *hi + 2*xh*xl + xl*xl;
H A Dhypotl.c15 static void sq(long double *hi, long double *lo, long double x) argument
21 *hi = x*x;
22 *lo = xh*xh - *hi + 2*xh*xl + xl*xl;
H A Dexp2.c49 double_t hi, lo; local
51 hi = 1.0 + y;
52 lo = 1.0 - hi + y + lo;
53 y = eval_as_double(hi + lo) - 1.0;
H A Dexp.c51 double_t hi, lo; local
53 hi = 1.0 + y;
54 lo = 1.0 - hi + y + lo;
55 y = eval_as_double(hi + lo) - 1.0;
/haiku/src/system/libroot/posix/musl/math/x86/
H A Dexpl.s1 # exp(x) = 2^hi + 2^hi (2^lo - 1)
2 # where hi+lo = log2e*x with 128bit precision
33 # hi = log2e_hi*x
34 # 2^hi = exp2l(hi)
42 # if 2^hi == inf return 2^hi
49 # fpu stack: 2^hi x hi
[all...]
/haiku/src/system/libroot/posix/musl/math/x86_64/
H A Dexpl.s1 # exp(x) = 2^hi + 2^hi (2^lo - 1)
2 # where hi+lo = log2e*x with 128bit precision
33 # hi = log2e_hi*x
34 # 2^hi = exp2l(hi)
41 # if 2^hi == inf return 2^hi
48 # fpu stack: 2^hi x hi
[all...]
/haiku/headers/private/shared/
H A Dmd5.h34 MD5_u32plus lo, hi; member in struct:BPrivate::__anon1
/haiku/src/system/libroot/posix/glibc/arch/sparc/
H A Daddmul_1.S38 sethi %hi(0x80000000),%o2
45 ! hi !
51 srl %g5,0,%i0 ! zero hi bits
57 mulx %i3,%g5,%i5 ! hi product
64 add %i5,%l0,%i5 ! ...add to bit 32 of the hi product
H A Dsubmul_1.S37 sethi %hi(0x80000000),%o2
44 ! hi !
50 srl %g5,0,%i0 ! zero hi bits
56 mulx %i3,%g5,%i5 ! hi product
63 add %i5,%l0,%i5 ! ...add to bit 32 of the hi product
H A Dmul_1.S47 ! hi !
54 srl %g5,0,%i0 ! zero hi bits
59 mulx %i3,%g5,%i5 ! hi product
65 add %i5,%l0,%i5 ! ...add to bit 32 of the hi product
/haiku/src/system/libroot/posix/musl/internal/
H A Dlibm.h42 uint64_t hi; member in struct:ldshape::__anon12
55 uint64_t hi; member in struct:ldshape::__anon14
196 #define EXTRACT_WORDS(hi,lo,d) \
199 (hi) = __u >> 32; \
203 #define GET_HIGH_WORD(hi,d) \
205 (hi) = asuint64(d) >> 32; \
213 #define INSERT_WORDS(d,hi,lo) \
215 (d) = asdouble(((uint64_t)(hi)<<32) | (uint32_t)(lo)); \
218 #define SET_HIGH_WORD(d,hi) \
219 INSERT_WORDS(d, hi, (uint32_
[all...]

Completed in 74 milliseconds

123