/frameworks/compile/libbcc/runtime/lib/ |
D | divsc3.c | 22 __divsc3(float __a, float __b, float __c, float __d) in __divsc3() argument 25 float __logbw = logbf(fmaxf(fabsf(__c), fabsf(__d))); in __divsc3() 30 __d = scalbnf(__d, -__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() 43 else if ((isinf(__a) || isinf(__b)) && isfinite(__c) && isfinite(__d)) in __divsc3() 47 __real__ z = INFINITY * (__a * __c + __b * __d); in __divsc3() 48 __imag__ z = INFINITY * (__b * __c - __a * __d); in __divsc3() 53 __d = copysignf(isinf(__d) ? 1 : 0, __d); in __divsc3() [all …]
|
D | divxc3.c | 23 __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() 31 __d = scalbnl(__d, -__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() 44 else if ((isinf(__a) || isinf(__b)) && isfinite(__c) && isfinite(__d)) in __divxc3() 48 __real__ z = INFINITY * (__a * __c + __b * __d); in __divxc3() 49 __imag__ z = INFINITY * (__b * __c - __a * __d); in __divxc3() 54 __d = copysignl(isinf(__d) ? 1 : 0, __d); in __divxc3() [all …]
|
D | divdc3.c | 22 __divdc3(double __a, double __b, double __c, double __d) in __divdc3() argument 25 double __logbw = logb(fmax(fabs(__c), fabs(__d))); in __divdc3() 30 __d = scalbn(__d, -__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() 43 else if ((isinf(__a) || isinf(__b)) && isfinite(__c) && isfinite(__d)) in __divdc3() 47 __real__ z = INFINITY * (__a * __c + __b * __d); in __divdc3() 48 __imag__ z = INFINITY * (__b * __c - __a * __d); in __divdc3() 53 __d = copysign(isinf(__d) ? 1.0 : 0.0, __d); in __divdc3() [all …]
|
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() 28 long double __ad = __a * __d; in __mulxc3() 42 if (isnan(__d)) in __mulxc3() 43 __d = copysignl(0, __d); in __mulxc3() 46 if (isinf(__c) || isinf(__d)) in __mulxc3() 49 __d = copysignl(isinf(__d) ? 1 : 0, __d); in __mulxc3() 65 if (isnan(__d)) in __mulxc3() 66 __d = copysignl(0, __d); 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() 26 float __ad = __a * __d; in __mulsc3() 40 if (isnan(__d)) in __mulsc3() 41 __d = copysignf(0, __d); in __mulsc3() 44 if (isinf(__c) || isinf(__d)) in __mulsc3() 47 __d = copysignf(isinf(__d) ? 1 : 0, __d); in __mulsc3() 63 if (isnan(__d)) in __mulsc3() 64 __d = copysignf(0, __d); 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() 26 double __ad = __a * __d; in __muldc3() 40 if (isnan(__d)) in __muldc3() 41 __d = copysign(0, __d); in __muldc3() 44 if (isinf(__c) || isinf(__d)) in __muldc3() 47 __d = copysign(isinf(__d) ? 1 : 0, __d); in __muldc3() 63 if (isnan(__d)) in __muldc3() 64 __d = copysign(0, __d); in __muldc3() 69 __real__ z = INFINITY * (__a * __c - __b * __d); in __muldc3() [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);
|