Home
last modified time | relevance | path

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

/frameworks/compile/libbcc/runtime/lib/ppc/
Ddivtc3.c25 DD cDD = { .ld = c }; in __divtc3() local
29 const double logbw = logb(__builtin_fmax( __builtin_fabs(cDD.s.hi), __builtin_fabs(dDD.s.hi) )); in __divtc3()
35 cDD.s.hi = scalbn(cDD.s.hi, -ilogbw); in __divtc3()
36 cDD.s.lo = scalbn(cDD.s.lo, -ilogbw); in __divtc3()
41 const long double denom = __gcc_qadd(__gcc_qmul(cDD.ld, cDD.ld), __gcc_qmul(dDD.ld, dDD.ld)); in __divtc3()
42 const long double realNumerator = __gcc_qadd(__gcc_qmul(a,cDD.ld), __gcc_qmul(b,dDD.ld)); in __divtc3()
43 const long double imagNumerator = __gcc_qsub(__gcc_qmul(b,cDD.ld), __gcc_qmul(a,dDD.ld)); in __divtc3()
61 real.s.hi = __builtin_copysign(INFINITY,cDD.s.hi) * aDD.s.hi; in __divtc3()
63 imag.s.hi = __builtin_copysign(INFINITY,cDD.s.hi) * bDD.s.hi; in __divtc3()
67 else if ((isinf(aDD.s.hi) || isinf(bDD.s.hi)) && isfinite(cDD.s.hi) && isfinite(dDD.s.hi)) in __divtc3()
[all …]
Dmultc3.c45 DD cDD = { .ld = c }; in __multc3() local
52 zeroNaN(cDD); in __multc3()
57 if (isinf(cDD.s.hi) || isinf(dDD.s.hi)) in __multc3()
59 makeFinite(cDD); in __multc3()
77 zeroNaN(cDD); in __multc3()
85 real.s.hi = INFINITY * (aDD.s.hi*cDD.s.hi - bDD.s.hi*dDD.s.hi); in __multc3()
87 imag.s.hi = INFINITY * (aDD.s.hi*dDD.s.hi + bDD.s.hi*cDD.s.hi); in __multc3()