HomeSort by relevance Sort by last modified time
    Searched refs:copysign (Results 1 - 25 of 131) sorted by null

1 2 3 4 5 6

  /bionic/libm/upstream-freebsd/lib/msun/src/
s_copysign.c 17 * copysign(double x, double y)
18 * copysign(x,y) returns a value with the magnitude of x and
26 copysign(double x, double y) function
s_cproj.c 42 return (cpack(INFINITY, copysign(0.0, cimag(z))));
s_csqrt.c 76 return (cpack(fabs(b - b), copysign(a, b)));
78 return (cpack(a, copysign(b - b, b)));
100 result = cpack(fabs(b) / (2 * t), copysign(t, b));
s_scalbn.c 51 if (k > 0x7fe) return huge*copysign(huge,x); /* overflow */
56 return huge*copysign(huge,x); /*overflow*/
57 else return tiny*copysign(tiny,x); /*underflow*/
s_ccosh.c 73 return (cpack(h * cos(y), copysign(h, x) * sin(y)));
77 return (cpack(creal(z), cimag(z) * copysign(1, x)));
95 return (cpack(y - y, copysign(0, x * (y - y))));
105 return (cpack(x * x, copysign(0, x) * y));
106 return (cpack(x * x, copysign(0, (x + x) * y)));
s_csinh.c 73 return (cpack(copysign(h, x) * cos(y), h * sin(y)));
77 return (cpack(creal(z) * copysign(1, x), cimag(z)));
95 return (cpack(copysign(0, x * (y - y)), y - y));
105 return (cpack(x, copysign(0, y)));
s_ctanh.c 106 SET_HIGH_WORD(x, hx - 0x40000000); /* x = copysign(1, x) */
107 return (cpack(x, copysign(0, isinf(y) ? y : sin(y) * cos(y))));
124 return (cpack(copysign(1, x),
s_scalbnl.c 64 return huge*copysign(huge,x); /*overflow*/
65 else return tiny*copysign(tiny,x); /*underflow*/
  /external/bison/lib/
signbitd.c 46 return copysign (1.0, arg) < 0;
  /prebuilts/python/darwin-x86/2.7.5/include/python2.7/
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);
floatobject.h 35 if (copysign(1., sign) == 1.) { \
  /prebuilts/python/linux-x86/2.7.5/include/python2.7/
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);
floatobject.h 35 if (copysign(1., sign) == 1.) { \
  /external/qemu/distrib/sdl-1.2.15/src/video/
e_sqrt.h 91 double SDL_NAME(copysign)(double x, double y) function
93 double SDL_NAME(copysign)(x,y)
123 if (k > 0x7fe) return huge*SDL_NAME(copysign)(huge,x); /* overflow */
128 return huge*SDL_NAME(copysign)(huge,x); /*overflow*/
129 else return tiny*SDL_NAME(copysign)(tiny,x); /*underflow*/
  /bionic/libm/upstream-freebsd/lib/msun/bsdsrc/
b_exp.c 47 * copysign(x,y)
103 k=invln2*x+copysign(0.5,x); /* k=NINT(x/ln2) */
148 k = z + copysign(.5, x);
  /external/clang/test/CodeGen/
libcall-declarations.c 20 double copysign(double, double);
81 atan2f, ceil, ceill, ceilf, copysign, copysignl, copysignf, cos, cosl, cosf,
104 // CHECK-NOERRNO: declare double @copysign(double, double) [[NUW]]
165 // CHECK-ERRNO: declare double @copysign(double, double) [[NUW]]
libcalls-fno-builtin.c 7 double copysign(double,double);
35 double t2(double x, double y) { return copysign(x,y); }
37 // CHECK: copysign
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
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(INF, 0.), INF
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
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(INF, 0.), INF
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/include/support/win32/
math_win32.h 98 _LIBCPP_ALWAYS_INLINE double copysign( double x, double y ) function
  /external/chromium_org/third_party/WebKit/Source/wtf/
MathExtras.h 74 inline double wtf_ceil(double x) { return copysign(ceil(x), x); }
88 inline bool signbit(double x) { return copysign(1.0, x) < 0; }
167 inline double copysign(double x, double y) { return _copysign(x, y); } function
  /bionic/libm/
fake_long_double.c 40 long double copysignl(long double a1, long double a2) { return copysign(a1, a2); }
  /frameworks/rs/cpu_ref/
rsCpuRuntimeMathFuncs.cpp 44 IMPORT_F32_FN_F32_F32(copysign)
  /ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/math/special_functions/
sign.hpp 133 inline T copysign BOOST_NO_MACRO_EXPAND(const T& x, const T& y)
  /external/llvm/include/llvm/Target/
TargetLibraryInfo.h 158 /// double copysign(double x, double y);
159 copysign, enumerator in enum:llvm::LibFunc::Func
687 case LibFunc::copysign: case LibFunc::copysignf: case LibFunc::copysignl:

Completed in 320 milliseconds

1 2 3 4 5 6