Home
last modified time | relevance | path

Searched refs:cDD (Results 1 – 4 of 4) sorted by relevance

/external/compiler-rt/lib/builtins/ppc/
Ddivtc3.c20 DD cDD = { .ld = c }; in __divtc3() local
24 const double logbw = crt_logb(crt_fmax(crt_fabs(cDD.s.hi), crt_fabs(dDD.s.hi) )); in __divtc3()
30 cDD.s.hi = crt_scalbn(cDD.s.hi, -ilogbw); in __divtc3()
31 cDD.s.lo = crt_scalbn(cDD.s.lo, -ilogbw); in __divtc3()
36 const long double denom = __gcc_qadd(__gcc_qmul(cDD.ld, cDD.ld), __gcc_qmul(dDD.ld, dDD.ld)); in __divtc3()
37 const long double realNumerator = __gcc_qadd(__gcc_qmul(a,cDD.ld), __gcc_qmul(b,dDD.ld)); in __divtc3()
38 const long double imagNumerator = __gcc_qsub(__gcc_qmul(b,cDD.ld), __gcc_qmul(a,dDD.ld)); in __divtc3()
57 real.s.hi = crt_copysign(CRT_INFINITY,cDD.s.hi) * aDD.s.hi; in __divtc3()
59 imag.s.hi = crt_copysign(CRT_INFINITY,cDD.s.hi) * bDD.s.hi; in __divtc3()
64 crt_isfinite(cDD.s.hi) && crt_isfinite(dDD.s.hi)) in __divtc3()
[all …]
Dmultc3.c37 DD cDD = { .ld = c }; in __multc3() local
44 zeroNaN(cDD); in __multc3()
49 if (crt_isinf(cDD.s.hi) || crt_isinf(dDD.s.hi)) in __multc3()
51 makeFinite(cDD); in __multc3()
70 zeroNaN(cDD); in __multc3()
78 real.s.hi = CRT_INFINITY * (aDD.s.hi*cDD.s.hi - bDD.s.hi*dDD.s.hi); in __multc3()
80 imag.s.hi = CRT_INFINITY * (aDD.s.hi*dDD.s.hi + bDD.s.hi*cDD.s.hi); in __multc3()
/external/llvm-project/compiler-rt/lib/builtins/ppc/
Ddivtc3.c25 DD cDD = {.ld = c}; in __divtc3() local
30 __compiler_rt_logb(crt_fmax(crt_fabs(cDD.s.hi), crt_fabs(dDD.s.hi))); in __divtc3()
35 cDD.s.hi = crt_scalbn(cDD.s.hi, -ilogbw); in __divtc3()
36 cDD.s.lo = crt_scalbn(cDD.s.lo, -ilogbw); in __divtc3()
42 __gcc_qadd(__gcc_qmul(cDD.ld, cDD.ld), __gcc_qmul(dDD.ld, dDD.ld)); in __divtc3()
44 __gcc_qadd(__gcc_qmul(a, cDD.ld), __gcc_qmul(b, dDD.ld)); in __divtc3()
46 __gcc_qsub(__gcc_qmul(b, cDD.ld), __gcc_qmul(a, dDD.ld)); in __divtc3()
62 real.s.hi = crt_copysign(CRT_INFINITY, cDD.s.hi) * aDD.s.hi; in __divtc3()
64 imag.s.hi = crt_copysign(CRT_INFINITY, cDD.s.hi) * bDD.s.hi; in __divtc3()
69 crt_isfinite(cDD.s.hi) && crt_isfinite(dDD.s.hi)) { in __divtc3()
[all …]
Dmultc3.c37 DD cDD = {.ld = c}; in __multc3() local
43 zeroNaN(cDD); in __multc3()
48 if (crt_isinf(cDD.s.hi) || crt_isinf(dDD.s.hi)) { in __multc3()
49 makeFinite(cDD); in __multc3()
66 zeroNaN(cDD); in __multc3()
73 real.s.hi = CRT_INFINITY * (aDD.s.hi * cDD.s.hi - bDD.s.hi * dDD.s.hi); in __multc3()
75 imag.s.hi = CRT_INFINITY * (aDD.s.hi * dDD.s.hi + bDD.s.hi * cDD.s.hi); in __multc3()