/prebuilts/sdk/renderscript/clang-include/ |
H A D | __clang_cuda_math_forward_declares.h | 63 __DEVICE__ double copysign(double, double); 64 __DEVICE__ float copysign(float, float); 197 using ::copysign;
|
H A D | opencl-c.h | 7798 float __ovld __cnfn copysign(float x, float y); 7799 float2 __ovld __cnfn copysign(float2 x, float2 y); 7800 float3 __ovld __cnfn copysign(float3 x, float3 y); 7801 float4 __ovld __cnfn copysign(float4 x, float4 y); 7802 float8 __ovld __cnfn copysign(float8 x, float8 y); 7803 float16 __ovld __cnfn copysign(float16 x, float16 y); 7805 double __ovld __cnfn copysign(double x, double y); 7806 double2 __ovld __cnfn copysign(double2 x, double2 y); 7807 double3 __ovld __cnfn copysign(double3 x, double3 y); 7808 double4 __ovld __cnfn copysign(double [all...] |
H A D | tgmath.h | 610 // copysign 618 __tg_copysign(double __x, double __y) {return copysign(__x, __y);} 624 #undef copysign macro 625 #define copysign(__x, __y) __tg_copysign(__tg_promote2((__x), (__y))(__x), \ macro
|
/prebuilts/sdk/renderscript/include/ |
H A D | rs_math.rsh | 1156 * copysign: Copies the sign of a number to another 1162 * For example, copysign(4.0f, -2.7f) returns -4.0f and copysign(-4.0f, 2.7f) returns 4.0f. 1165 copysign(float magnitude_value, float sign_value); 1168 copysign(float2 magnitude_value, float2 sign_value); 1171 copysign(float3 magnitude_value, float3 sign_value); 1174 copysign(float4 magnitude_value, float4 sign_value); 1178 copysign(half magnitude_value, half sign_value); 1183 copysign(half2 magnitude_value, half2 sign_value); 1188 copysign(half [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
H A D | test_cmath.py | 92 if math.copysign(1., a) != math.copysign(1., b):
|
H A D | test_complex.py | 5 from math import atan2, isnan, copysign namespace 57 elif copysign(1.0, x) == copysign(1.0, y):
|
H A D | test_float.py | 6 from math import isinf, isnan, copysign, ldexp namespace 210 self.assertEqual((a, copysign(1.0, a)), (b, copysign(1.0, b))) 623 if not math.isnan(arg) and copysign(1.0, arg) > 0.0: 981 elif x == y and (x != 0.0 or copysign(1.0, x) == copysign(1.0, y)):
|
H A D | test_math.py | 295 self.assertEqual(math.copysign(1, 42), 1.0) 296 self.assertEqual(math.copysign(0., 42), 0.0) 297 self.assertEqual(math.copysign(1., -42), -1.0) 298 self.assertEqual(math.copysign(3, 0.), 3.0) 299 self.assertEqual(math.copysign(4., -0.), -4.0) 301 self.assertRaises(TypeError, math.copysign) 302 # copysign should let us distinguish signs of zeros 303 self.assertEqual(math.copysign(1., 0.), 1.) 304 self.assertEqual(math.copysign(1., -0.), -1.) 305 self.assertEqual(math.copysign(IN [all...] |
/prebuilts/python/linux-x86/2.7.5/include/python2.7/ |
H A D | floatobject.h | 35 if (copysign(1., sign) == 1.) { \
|
H A D | pymath.h | 11 /* Python provides implementations for copysign, round and hypot in 15 *Note: PC/pyconfig.h defines copysign as _copysign 18 extern double copysign(double, double); 43 extern double copysign(double, double);
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
H A D | decimal.py | 687 if _math.copysign(1.0, f) == 1.0:
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
H A D | test_math.py | 295 self.assertEqual(math.copysign(1, 42), 1.0) 296 self.assertEqual(math.copysign(0., 42), 0.0) 297 self.assertEqual(math.copysign(1., -42), -1.0) 298 self.assertEqual(math.copysign(3, 0.), 3.0) 299 self.assertEqual(math.copysign(4., -0.), -4.0) 301 self.assertRaises(TypeError, math.copysign) 302 # copysign should let us distinguish signs of zeros 303 self.assertEqual(math.copysign(1., 0.), 1.) 304 self.assertEqual(math.copysign(1., -0.), -1.) 305 self.assertEqual(math.copysign(IN [all...] |
H A D | test_cmath.py | 92 if math.copysign(1., a) != math.copysign(1., b):
|
H A D | test_complex.py | 5 from math import atan2, isnan, copysign namespace 57 elif copysign(1.0, x) == copysign(1.0, y):
|
H A D | test_float.py | 6 from math import isinf, isnan, copysign, ldexp namespace 210 self.assertEqual((a, copysign(1.0, a)), (b, copysign(1.0, b))) 623 if not math.isnan(arg) and copysign(1.0, arg) > 0.0: 981 elif x == y and (x != 0.0 or copysign(1.0, x) == copysign(1.0, y)):
|
/prebuilts/python/darwin-x86/2.7.5/include/python2.7/ |
H A D | floatobject.h | 35 if (copysign(1., sign) == 1.) { \
|
H A D | pymath.h | 11 /* Python provides implementations for copysign, round and hypot in 15 *Note: PC/pyconfig.h defines copysign as _copysign 18 extern double copysign(double, double); 43 extern double copysign(double, double);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
H A D | decimal.py | 687 if _math.copysign(1.0, f) == 1.0:
|
/prebuilts/ndk/current/sources/cxx-stl/stlport/src/ |
H A D | num_put_float.cpp | 136 static inline bool _Stl_is_neg_nan(double x) { return isnan(x) && ( copysign(1., x) < 0 ); } 181 static inline bool _Stl_is_neg_nan(double x) { return isnan(x) && copysign(1., x) < 0 ; } 186 static bool _Stl_is_neg_inf(double x) { return _Stl_is_inf(x) && ( copysign(1., x) < 0 ); } 187 static bool _Stl_is_neg_nan(double x) { return isnan(x) && ( copysign(1., x) < 0 ); }
|
/prebuilts/ndk/r13/sources/cxx-stl/stlport/src/ |
H A D | num_put_float.cpp | 136 static inline bool _Stl_is_neg_nan(double x) { return isnan(x) && ( copysign(1., x) < 0 ); } 181 static inline bool _Stl_is_neg_nan(double x) { return isnan(x) && copysign(1., x) < 0 ; } 186 static bool _Stl_is_neg_inf(double x) { return _Stl_is_inf(x) && ( copysign(1., x) < 0 ); } 187 static bool _Stl_is_neg_nan(double x) { return isnan(x) && ( copysign(1., x) < 0 ); }
|
/prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/test/std/numerics/c.math/ |
H A D | cmath.pass.cpp | 72 Ambiguous copysign(Ambiguous, Ambiguous){ return Ambiguous(); } function 789 static_assert((std::is_same<decltype(std::copysign((float)0, (float)0)), float>::value), ""); 790 static_assert((std::is_same<decltype(std::copysign((bool)0, (float)0)), double>::value), ""); 791 static_assert((std::is_same<decltype(std::copysign((unsigned short)0, (double)0)), double>::value), ""); 792 static_assert((std::is_same<decltype(std::copysign((int)0, (long double)0)), long double>::value), ""); 793 static_assert((std::is_same<decltype(std::copysign((float)0, (unsigned int)0)), double>::value), ""); 794 static_assert((std::is_same<decltype(std::copysign((double)0, (long)0)), double>::value), ""); 795 static_assert((std::is_same<decltype(std::copysign((long double)0, (unsigned long)0)), long double>::value), ""); 796 static_assert((std::is_same<decltype(std::copysign((int)0, (long long)0)), double>::value), ""); 797 static_assert((std::is_same<decltype(std::copysign((in [all...] |
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/numerics/c.math/ |
H A D | cmath.pass.cpp | 72 Ambiguous copysign(Ambiguous, Ambiguous){ return Ambiguous(); } function 789 static_assert((std::is_same<decltype(std::copysign((float)0, (float)0)), float>::value), ""); 790 static_assert((std::is_same<decltype(std::copysign((bool)0, (float)0)), double>::value), ""); 791 static_assert((std::is_same<decltype(std::copysign((unsigned short)0, (double)0)), double>::value), ""); 792 static_assert((std::is_same<decltype(std::copysign((int)0, (long double)0)), long double>::value), ""); 793 static_assert((std::is_same<decltype(std::copysign((float)0, (unsigned int)0)), double>::value), ""); 794 static_assert((std::is_same<decltype(std::copysign((double)0, (long)0)), double>::value), ""); 795 static_assert((std::is_same<decltype(std::copysign((long double)0, (unsigned long)0)), long double>::value), ""); 796 static_assert((std::is_same<decltype(std::copysign((int)0, (long long)0)), double>::value), ""); 797 static_assert((std::is_same<decltype(std::copysign((in [all...] |
/prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/test/std/depr/depr.c.headers/ |
H A D | math_h.pass.cpp | 72 Ambiguous copysign(Ambiguous, Ambiguous){ return Ambiguous(); } function 788 static_assert((std::is_same<decltype(copysign((float)0, (float)0)), float>::value), ""); 789 static_assert((std::is_same<decltype(copysign((bool)0, (float)0)), double>::value), ""); 790 static_assert((std::is_same<decltype(copysign((unsigned short)0, (double)0)), double>::value), ""); 791 static_assert((std::is_same<decltype(copysign((int)0, (long double)0)), long double>::value), ""); 792 static_assert((std::is_same<decltype(copysign((float)0, (unsigned int)0)), double>::value), ""); 793 static_assert((std::is_same<decltype(copysign((double)0, (long)0)), double>::value), ""); 794 static_assert((std::is_same<decltype(copysign((long double)0, (unsigned long)0)), long double>::value), ""); 795 static_assert((std::is_same<decltype(copysign((int)0, (long long)0)), double>::value), ""); 796 static_assert((std::is_same<decltype(copysign((in [all...] |
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/depr/depr.c.headers/ |
H A D | math_h.pass.cpp | 72 Ambiguous copysign(Ambiguous, Ambiguous){ return Ambiguous(); } function 788 static_assert((std::is_same<decltype(copysign((float)0, (float)0)), float>::value), ""); 789 static_assert((std::is_same<decltype(copysign((bool)0, (float)0)), double>::value), ""); 790 static_assert((std::is_same<decltype(copysign((unsigned short)0, (double)0)), double>::value), ""); 791 static_assert((std::is_same<decltype(copysign((int)0, (long double)0)), long double>::value), ""); 792 static_assert((std::is_same<decltype(copysign((float)0, (unsigned int)0)), double>::value), ""); 793 static_assert((std::is_same<decltype(copysign((double)0, (long)0)), double>::value), ""); 794 static_assert((std::is_same<decltype(copysign((long double)0, (unsigned long)0)), long double>::value), ""); 795 static_assert((std::is_same<decltype(copysign((int)0, (long long)0)), double>::value), ""); 796 static_assert((std::is_same<decltype(copysign((in [all...] |
/prebuilts/ndk/current/sources/cxx-stl/llvm-libc++/include/ |
H A D | math.h | 169 floating_point copysign (arithmetic x, arithmetic y); 999 // copysign 1002 inline _LIBCPP_INLINE_VISIBILITY float copysign(float __lcpp_x, 1007 copysign(long double __lcpp_x, long double __lcpp_y) _NOEXCEPT { 1020 copysign(_A1 __lcpp_x, _A2 __lcpp_y) _NOEXCEPT 1025 return copysign((__result_type)__lcpp_x, (__result_type)__lcpp_y);
|