Home
last modified time | relevance | path

Searched refs:isinf (Results 1 – 25 of 91) sorted by relevance

1234

/external/libcxx/test/std/numerics/complex.number/complex.transcendentals/
Dacosh.pass.cpp58 else if (std::isfinite(x[i].real()) && std::isinf(x[i].imag())) in test_edges()
60 assert(std::isinf(r.real())); in test_edges()
72 else if (std::isinf(x[i].real()) && x[i].real() < 0 && std::isfinite(x[i].imag())) in test_edges()
74 assert(std::isinf(r.real())); in test_edges()
81 else if (std::isinf(x[i].real()) && x[i].real() > 0 && std::isfinite(x[i].imag())) in test_edges()
83 assert(std::isinf(r.real())); in test_edges()
88 else if (std::isinf(x[i].real()) && x[i].real() < 0 && std::isinf(x[i].imag())) in test_edges()
90 assert(std::isinf(r.real())); in test_edges()
97 else if (std::isinf(x[i].real()) && x[i].real() > 0 && std::isinf(x[i].imag())) in test_edges()
99 assert(std::isinf(r.real())); in test_edges()
[all …]
Dacos.pass.cpp54 else if (std::isfinite(x[i].real()) && std::isinf(x[i].imag())) in test_edges()
57 assert(std::isinf(r.imag())); in test_edges()
65 else if (std::isinf(x[i].real()) && x[i].real() < 0 && std::isfinite(x[i].imag())) in test_edges()
68 assert(std::isinf(r.imag())); in test_edges()
71 else if (std::isinf(x[i].real()) && x[i].real() > 0 && std::isfinite(x[i].imag())) in test_edges()
75 assert(std::isinf(r.imag())); in test_edges()
78 else if (std::isinf(x[i].real()) && x[i].real() < 0 && std::isinf(x[i].imag())) in test_edges()
81 assert(std::isinf(r.imag())); in test_edges()
84 else if (std::isinf(x[i].real()) && x[i].real() > 0 && std::isinf(x[i].imag())) in test_edges()
87 assert(std::isinf(r.imag())); in test_edges()
[all …]
Dcosh.pass.cpp49 else if (x[i].real() == 0 && std::isinf(x[i].imag())) in test_edges()
59 else if (std::isfinite(x[i].real()) && std::isinf(x[i].imag())) in test_edges()
69 else if (std::isinf(x[i].real()) && x[i].imag() == 0) in test_edges()
71 assert(std::isinf(r.real())); in test_edges()
76 else if (std::isinf(x[i].real()) && std::isfinite(x[i].imag())) in test_edges()
78 assert(std::isinf(r.real())); in test_edges()
80 assert(std::isinf(r.imag())); in test_edges()
83 else if (std::isinf(x[i].real()) && std::isinf(x[i].imag())) in test_edges()
85 assert(std::isinf(r.real())); in test_edges()
88 else if (std::isinf(x[i].real()) && std::isnan(x[i].imag())) in test_edges()
[all …]
Dsinh.pass.cpp50 else if (x[i].real() == 0 && std::isinf(x[i].imag())) in test_edges()
55 else if (std::isfinite(x[i].real()) && std::isinf(x[i].imag())) in test_edges()
70 else if (std::isinf(x[i].real()) && x[i].imag() == 0) in test_edges()
72 assert(std::isinf(r.real())); in test_edges()
77 else if (std::isinf(x[i].real()) && std::isfinite(x[i].imag())) in test_edges()
79 assert(std::isinf(r.real())); in test_edges()
81 assert(std::isinf(r.imag())); in test_edges()
84 else if (std::isinf(x[i].real()) && std::isinf(x[i].imag())) in test_edges()
86 assert(std::isinf(r.real())); in test_edges()
89 else if (std::isinf(x[i].real()) && std::isnan(x[i].imag())) in test_edges()
[all …]
Dexp.pass.cpp47 else if (std::isfinite(x[i].real()) && std::isinf(x[i].imag())) in test_edges()
57 else if (std::isinf(x[i].real()) && x[i].real() > 0 && x[i].imag() == 0) in test_edges()
59 assert(std::isinf(r.real())); in test_edges()
64 else if (std::isinf(x[i].real()) && x[i].real() < 0 && std::isinf(x[i].imag())) in test_edges()
69 else if (std::isinf(x[i].real()) && x[i].real() > 0 && std::isinf(x[i].imag())) in test_edges()
71 assert(std::isinf(r.real())); in test_edges()
74 else if (std::isinf(x[i].real()) && x[i].real() < 0 && std::isnan(x[i].imag())) in test_edges()
79 else if (std::isinf(x[i].real()) && x[i].real() > 0 && std::isnan(x[i].imag())) in test_edges()
81 assert(std::isinf(r.real())); in test_edges()
Dsqrt.pass.cpp48 else if (std::isinf(x[i].imag())) in test_edges()
50 assert(std::isinf(r.real())); in test_edges()
52 assert(std::isinf(r.imag())); in test_edges()
60 else if (std::isinf(x[i].real()) && x[i].real() < 0 && std::isfinite(x[i].imag())) in test_edges()
64 assert(std::isinf(r.imag())); in test_edges()
67 else if (std::isinf(x[i].real()) && x[i].real() > 0 && std::isfinite(x[i].imag())) in test_edges()
69 assert(std::isinf(r.real())); in test_edges()
74 else if (std::isinf(x[i].real()) && x[i].real() < 0 && std::isnan(x[i].imag())) in test_edges()
77 assert(std::isinf(r.imag())); in test_edges()
79 else if (std::isinf(x[i].real()) && x[i].real() > 0 && std::isnan(x[i].imag())) in test_edges()
[all …]
Dasinh.pass.cpp48 else if (std::isfinite(x[i].real()) && std::isinf(x[i].imag())) in test_edges()
50 assert(std::isinf(r.real())); in test_edges()
62 else if (std::isinf(x[i].real()) && std::isfinite(x[i].imag())) in test_edges()
64 assert(std::isinf(r.real())); in test_edges()
69 else if (std::isinf(x[i].real()) && std::isinf(x[i].imag())) in test_edges()
71 assert(std::isinf(r.real())); in test_edges()
78 else if (std::isinf(x[i].real()) && std::isnan(x[i].imag())) in test_edges()
80 assert(std::isinf(r.real())); in test_edges()
95 else if (std::isnan(x[i].real()) && std::isinf(x[i].imag())) in test_edges()
97 assert(std::isinf(r.real())); in test_edges()
Dasin.pass.cpp48 else if (std::isfinite(x[i].real()) && std::isinf(x[i].imag())) in test_edges()
52 assert(std::isinf(r.imag())); in test_edges()
66 else if (std::isinf(x[i].real()) && std::isfinite(x[i].imag())) in test_edges()
72 assert(std::isinf(r.imag())); in test_edges()
75 else if (std::isinf(x[i].real()) && std::isinf(x[i].imag())) in test_edges()
81 assert(std::isinf(r.imag())); in test_edges()
84 else if (std::isinf(x[i].real()) && std::isnan(x[i].imag())) in test_edges()
87 assert(std::isinf(r.imag())); in test_edges()
96 else if (std::isnan(x[i].real()) && std::isinf(x[i].imag())) in test_edges()
99 assert(std::isinf(r.imag())); in test_edges()
Dlog.pass.cpp46 assert(std::isinf(r.real())); in test_edges()
55 assert(std::isinf(r.real())); in test_edges()
61 else if (std::isfinite(x[i].real()) && std::isinf(x[i].imag())) in test_edges()
63 assert(std::isinf(r.real())); in test_edges()
75 else if (std::isinf(x[i].real()) && x[i].real() < 0 && std::isfinite(x[i].imag())) in test_edges()
77 assert(std::isinf(r.real()) && r.real() > 0); in test_edges()
83 else if (std::isinf(x[i].real()) && x[i].real() > 0 && std::isfinite(x[i].imag())) in test_edges()
85 assert(std::isinf(r.real()) && r.real() > 0); in test_edges()
Datanh.pass.cpp56 assert(std::isinf(r.real())); in test_edges()
61 else if (std::isfinite(x[i].real()) && std::isinf(x[i].imag())) in test_edges()
75 else if (std::isinf(x[i].real()) && std::isfinite(x[i].imag())) in test_edges()
84 else if (std::isinf(x[i].real()) && std::isinf(x[i].imag())) in test_edges()
93 else if (std::isinf(x[i].real()) && std::isnan(x[i].imag())) in test_edges()
104 else if (std::isnan(x[i].real()) && std::isinf(x[i].imag())) in test_edges()
Dtanh.pass.cpp50 else if (std::isfinite(x[i].real()) && std::isinf(x[i].imag())) in test_edges()
60 else if (std::isinf(x[i].real()) && std::isfinite(x[i].imag())) in test_edges()
66 else if (std::isinf(x[i].real()) && std::isinf(x[i].imag())) in test_edges()
71 else if (std::isinf(x[i].real()) && std::isnan(x[i].imag())) in test_edges()
/external/libcxx/test/std/numerics/c.math/
Dcmath_isinf.pass.cpp22 #ifdef isinf in main()
23 #error isinf defined in main()
25 static_assert((std::is_same<decltype(std::isinf((float)0)), bool>::value), ""); in main()
26 static_assert((std::is_same<decltype(std::isinf((double)0)), bool>::value), ""); in main()
27 static_assert((std::is_same<decltype(std::isinf(0)), bool>::value), ""); in main()
28 static_assert((std::is_same<decltype(std::isinf((long double)0)), bool>::value), ""); in main()
29 assert(std::isinf(-1.0) == false); in main()
/external/libxml2/win32/VC10/
Dconfig.h52 #ifndef isinf
53 #define isinf(d) ((_fpclass(d) == _FPCLASS_PINF) ? 1 \ macro
61 #ifndef isinf
62 static int isinf (double d) { in isinf() function
/external/libxml2/include/
Dwin32config.h53 #ifndef isinf
54 #define isinf(d) ((_fpclass(d) == _FPCLASS_PINF) ? 1 \ macro
62 #ifndef isinf
63 static int isinf (double d) { in isinf() function
/external/libcxx/include/
Dcomplex602 if (isinf(__a) || isinf(__b))
604 __a = copysign(isinf(__a) ? _Tp(1) : _Tp(0), __a);
605 __b = copysign(isinf(__b) ? _Tp(1) : _Tp(0), __b);
612 if (isinf(__c) || isinf(__d))
614 __c = copysign(isinf(__c) ? _Tp(1) : _Tp(0), __c);
615 __d = copysign(isinf(__d) ? _Tp(1) : _Tp(0), __d);
622 if (!__recalc && (isinf(__ac) || isinf(__bd) ||
623 isinf(__ad) || isinf(__bc)))
690 else if ((isinf(__a) || isinf(__b)) && isfinite(__c) && isfinite(__d))
692 __a = copysign(isinf(__a) ? _Tp(1) : _Tp(0), __a);
[all …]
/external/vulkan-validation-layers/libs/glm/detail/
D_fixes.hpp47 #ifdef isinf
48 #undef isinf
Dfunc_common.inl780 GLM_FUNC_QUALIFIER bool isinf( function
785 "'isinf' only accept floating-point inputs");
793 return std::isinf(x);
797 return isinf(double(x)) != 0;
799 return std::isinf(x);
804 GLM_FUNC_QUALIFIER typename detail::tvec2<T, P>::bool_type isinf function
811 "'isinf' only accept floating-point inputs");
814 isinf(x.x),
815 isinf(x.y));
819 GLM_FUNC_QUALIFIER typename detail::tvec3<T, P>::bool_type isinf function
[all …]
/external/libcxx/test/std/numerics/complex.number/complex.value.ops/
Darg.pass.cpp84 if (std::isinf(x[i].real()) && std::isinf(x[i].imag())) in test_edges()
101 else if (std::isinf(x[i].real())) in test_edges()
/external/protobuf/python/google/protobuf/internal/
Dgenerator_test.py91 def isinf(val): function
95 self.assertTrue(isinf(message.inf_double))
97 self.assertTrue(isinf(message.neg_inf_double))
101 self.assertTrue(isinf(message.inf_float))
103 self.assertTrue(isinf(message.neg_inf_float))
/external/libcxx/test/std/numerics/complex.number/
Dcases.h183 if (std::isinf(x.real()) || std::isinf(x.imag())) in classify()
208 if (std::isinf(x)) in classify()
/external/v8/src/base/
Dqnx-math.h12 #undef isinf
/external/compiler-rt/test/builtins/Unit/
Dmulxc3_test.c33 if (isinf(creall(x)) || isinf(cimagl(x))) in classify()
Ddivxc3_test.c33 if (isinf(creall(x)) || isinf(cimagl(x))) in classify()
Ddivtc3_test.c32 if (isinf(creall(x)) || isinf(cimagl(x))) in classify()
Ddivdc3_test.c31 if (isinf(creal(x)) || isinf(cimag(x))) in classify()

1234