/frameworks/compile/libbcc/runtime/lib/ |
D | mulxc3.c | 24 __mulxc3(long double __a, long double __b, long double __c, long double __d) in __mulxc3() argument 27 long double __bd = __b * __d; in __mulxc3() 29 long double __bc = __b * __c; in __mulxc3() 36 if (isinf(__a) || isinf(__b)) in __mulxc3() 39 __b = copysignl(isinf(__b) ? 1 : 0, __b); in __mulxc3() 52 if (isnan(__b)) in __mulxc3() 53 __b = copysignl(0, __b); in __mulxc3() 61 if (isnan(__b)) in __mulxc3() 62 __b = copysignl(0, __b); in __mulxc3() 71 __real__ z = INFINITY * (__a * __c - __b * __d); in __mulxc3() [all …]
|
D | mulsc3.c | 22 __mulsc3(float __a, float __b, float __c, float __d) in __mulsc3() argument 25 float __bd = __b * __d; in __mulsc3() 27 float __bc = __b * __c; in __mulsc3() 34 if (isinf(__a) || isinf(__b)) in __mulsc3() 37 __b = copysignf(isinf(__b) ? 1 : 0, __b); in __mulsc3() 50 if (isnan(__b)) in __mulsc3() 51 __b = copysignf(0, __b); in __mulsc3() 59 if (isnan(__b)) in __mulsc3() 60 __b = copysignf(0, __b); in __mulsc3() 69 __real__ z = INFINITY * (__a * __c - __b * __d); in __mulsc3() [all …]
|
D | muldc3.c | 22 __muldc3(double __a, double __b, double __c, double __d) in __muldc3() argument 25 double __bd = __b * __d; in __muldc3() 27 double __bc = __b * __c; in __muldc3() 34 if (isinf(__a) || isinf(__b)) in __muldc3() 37 __b = copysign(isinf(__b) ? 1 : 0, __b); in __muldc3() 50 if (isnan(__b)) in __muldc3() 51 __b = copysign(0, __b); in __muldc3() 59 if (isnan(__b)) in __muldc3() 60 __b = copysign(0, __b); in __muldc3() 69 __real__ z = INFINITY * (__a * __c - __b * __d); in __muldc3() [all …]
|
D | divsc3.c | 22 __divsc3(float __a, float __b, float __c, float __d) in __divsc3() argument 34 __real__ z = scalbnf((__a * __c + __b * __d) / __denom, -__ilogbw); in __divsc3() 35 __imag__ z = scalbnf((__b * __c - __a * __d) / __denom, -__ilogbw); in __divsc3() 38 if ((__denom == 0) && (!isnan(__a) || !isnan(__b))) in __divsc3() 41 __imag__ z = copysignf(INFINITY, __c) * __b; in __divsc3() 43 else if ((isinf(__a) || isinf(__b)) && isfinite(__c) && isfinite(__d)) in __divsc3() 46 __b = copysignf(isinf(__b) ? 1 : 0, __b); in __divsc3() 47 __real__ z = INFINITY * (__a * __c + __b * __d); in __divsc3() 48 __imag__ z = INFINITY * (__b * __c - __a * __d); in __divsc3() 50 else if (isinf(__logbw) && __logbw > 0 && isfinite(__a) && isfinite(__b)) in __divsc3() [all …]
|
D | divxc3.c | 23 __divxc3(long double __a, long double __b, long double __c, long double __d) in __divxc3() argument 35 __real__ z = scalbnl((__a * __c + __b * __d) / __denom, -__ilogbw); in __divxc3() 36 __imag__ z = scalbnl((__b * __c - __a * __d) / __denom, -__ilogbw); in __divxc3() 39 if ((__denom == 0) && (!isnan(__a) || !isnan(__b))) in __divxc3() 42 __imag__ z = copysignl(INFINITY, __c) * __b; in __divxc3() 44 else if ((isinf(__a) || isinf(__b)) && isfinite(__c) && isfinite(__d)) in __divxc3() 47 __b = copysignl(isinf(__b) ? 1 : 0, __b); in __divxc3() 48 __real__ z = INFINITY * (__a * __c + __b * __d); in __divxc3() 49 __imag__ z = INFINITY * (__b * __c - __a * __d); in __divxc3() 51 else if (isinf(__logbw) && __logbw > 0 && isfinite(__a) && isfinite(__b)) in __divxc3() [all …]
|
D | divdc3.c | 22 __divdc3(double __a, double __b, double __c, double __d) in __divdc3() argument 34 __real__ z = scalbn((__a * __c + __b * __d) / __denom, -__ilogbw); in __divdc3() 35 __imag__ z = scalbn((__b * __c - __a * __d) / __denom, -__ilogbw); in __divdc3() 38 if ((__denom == 0.0) && (!isnan(__a) || !isnan(__b))) in __divdc3() 41 __imag__ z = copysign(INFINITY, __c) * __b; in __divdc3() 43 else if ((isinf(__a) || isinf(__b)) && isfinite(__c) && isfinite(__d)) in __divdc3() 46 __b = copysign(isinf(__b) ? 1.0 : 0.0, __b); in __divdc3() 47 __real__ z = INFINITY * (__a * __c + __b * __d); in __divdc3() 48 __imag__ z = INFINITY * (__b * __c - __a * __d); in __divdc3() 50 else if (isinf(__logbw) && __logbw > 0.0 && isfinite(__a) && isfinite(__b)) in __divdc3() [all …]
|
/frameworks/compile/libbcc/runtime/test/Unit/ |
D | muldc3_test.c | 21 double _Complex __muldc3(double __a, double __b, double __c, double __d);
|
D | divxc3_test.c | 24 __divxc3(long double __a, long double __b, long double __c, long double __d);
|
D | divdc3_test.c | 21 double _Complex __divdc3(double __a, double __b, double __c, double __d);
|
D | divtc3_test.c | 24 __divtc3(long double __a, long double __b, long double __c, long double __d);
|
D | mulxc3_test.c | 24 __mulxc3(long double __a, long double __b, long double __c, long double __d);
|
D | divsc3_test.c | 21 float _Complex __divsc3(float __a, float __b, float __c, float __d);
|
D | multc3_test.c | 24 __multc3(long double __a, long double __b, long double __c, long double __d);
|
D | mulsc3_test.c | 21 float _Complex __mulsc3(float __a, float __b, float __c, float __d);
|