Home
last modified time | relevance | path

Searched refs:__c (Results 1 – 14 of 14) sorted by relevance

/frameworks/compile/libbcc/runtime/lib/
Ddivsc3.c22 __divsc3(float __a, float __b, float __c, float __d) in __divsc3() argument
25 float __logbw = logbf(fmaxf(fabsf(__c), fabsf(__d))); in __divsc3()
29 __c = scalbnf(__c, -__ilogbw); in __divsc3()
32 float __denom = __c * __c + __d * __d; in __divsc3()
34 __real__ z = scalbnf((__a * __c + __b * __d) / __denom, -__ilogbw); in __divsc3()
35 __imag__ z = scalbnf((__b * __c - __a * __d) / __denom, -__ilogbw); in __divsc3()
40 __real__ z = copysignf(INFINITY, __c) * __a; in __divsc3()
41 __imag__ z = copysignf(INFINITY, __c) * __b; in __divsc3()
43 else if ((isinf(__a) || isinf(__b)) && isfinite(__c) && isfinite(__d)) in __divsc3()
47 __real__ z = INFINITY * (__a * __c + __b * __d); in __divsc3()
[all …]
Ddivxc3.c23 __divxc3(long double __a, long double __b, long double __c, long double __d) in __divxc3() argument
26 long double __logbw = logbl(fmaxl(fabsl(__c), fabsl(__d))); in __divxc3()
30 __c = scalbnl(__c, -__ilogbw); in __divxc3()
33 long double __denom = __c * __c + __d * __d; in __divxc3()
35 __real__ z = scalbnl((__a * __c + __b * __d) / __denom, -__ilogbw); in __divxc3()
36 __imag__ z = scalbnl((__b * __c - __a * __d) / __denom, -__ilogbw); in __divxc3()
41 __real__ z = copysignl(INFINITY, __c) * __a; in __divxc3()
42 __imag__ z = copysignl(INFINITY, __c) * __b; in __divxc3()
44 else if ((isinf(__a) || isinf(__b)) && isfinite(__c) && isfinite(__d)) in __divxc3()
48 __real__ z = INFINITY * (__a * __c + __b * __d); in __divxc3()
[all …]
Ddivdc3.c22 __divdc3(double __a, double __b, double __c, double __d) in __divdc3() argument
25 double __logbw = logb(fmax(fabs(__c), fabs(__d))); in __divdc3()
29 __c = scalbn(__c, -__ilogbw); in __divdc3()
32 double __denom = __c * __c + __d * __d; in __divdc3()
34 __real__ z = scalbn((__a * __c + __b * __d) / __denom, -__ilogbw); in __divdc3()
35 __imag__ z = scalbn((__b * __c - __a * __d) / __denom, -__ilogbw); in __divdc3()
40 __real__ z = copysign(INFINITY, __c) * __a; in __divdc3()
41 __imag__ z = copysign(INFINITY, __c) * __b; in __divdc3()
43 else if ((isinf(__a) || isinf(__b)) && isfinite(__c) && isfinite(__d)) in __divdc3()
47 __real__ z = INFINITY * (__a * __c + __b * __d); in __divdc3()
[all …]
Dmulxc3.c24 __mulxc3(long double __a, long double __b, long double __c, long double __d) in __mulxc3() argument
26 long double __ac = __a * __c; in __mulxc3()
29 long double __bc = __b * __c; in __mulxc3()
40 if (isnan(__c)) in __mulxc3()
41 __c = copysignl(0, __c); in __mulxc3()
46 if (isinf(__c) || isinf(__d)) in __mulxc3()
48 __c = copysignl(isinf(__c) ? 1 : 0, __c); in __mulxc3()
63 if (isnan(__c)) in __mulxc3()
64 __c = copysignl(0, __c); in __mulxc3()
71 __real__ z = INFINITY * (__a * __c - __b * __d); in __mulxc3()
[all …]
Dmulsc3.c22 __mulsc3(float __a, float __b, float __c, float __d) in __mulsc3() argument
24 float __ac = __a * __c; in __mulsc3()
27 float __bc = __b * __c; in __mulsc3()
38 if (isnan(__c)) in __mulsc3()
39 __c = copysignf(0, __c); in __mulsc3()
44 if (isinf(__c) || isinf(__d)) in __mulsc3()
46 __c = copysignf(isinf(__c) ? 1 : 0, __c); in __mulsc3()
61 if (isnan(__c)) in __mulsc3()
62 __c = copysignf(0, __c); in __mulsc3()
69 __real__ z = INFINITY * (__a * __c - __b * __d); in __mulsc3()
[all …]
Dmuldc3.c22 __muldc3(double __a, double __b, double __c, double __d) in __muldc3() argument
24 double __ac = __a * __c; in __muldc3()
27 double __bc = __b * __c; in __muldc3()
38 if (isnan(__c)) in __muldc3()
39 __c = copysign(0, __c); in __muldc3()
44 if (isinf(__c) || isinf(__d)) in __muldc3()
46 __c = copysign(isinf(__c) ? 1 : 0, __c); in __muldc3()
61 if (isnan(__c)) in __muldc3()
62 __c = copysign(0, __c); in __muldc3()
69 __real__ z = INFINITY * (__a * __c - __b * __d); in __muldc3()
[all …]
/frameworks/compile/libbcc/runtime/test/Unit/
Dmuldc3_test.c21 double _Complex __muldc3(double __a, double __b, double __c, double __d);
Ddivxc3_test.c24 __divxc3(long double __a, long double __b, long double __c, long double __d);
Ddivdc3_test.c21 double _Complex __divdc3(double __a, double __b, double __c, double __d);
Ddivtc3_test.c24 __divtc3(long double __a, long double __b, long double __c, long double __d);
Dmulxc3_test.c24 __mulxc3(long double __a, long double __b, long double __c, long double __d);
Ddivsc3_test.c21 float _Complex __divsc3(float __a, float __b, float __c, float __d);
Dmultc3_test.c24 __multc3(long double __a, long double __b, long double __c, long double __d);
Dmulsc3_test.c21 float _Complex __mulsc3(float __a, float __b, float __c, float __d);