Home
last modified time | relevance | path

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

12345

/external/llvm/autoconf/m4/
Dfunc_isinf.m42 dnl This function determins if the isinf function isavailable on this
9 [isinf], [<math.h>],
10 [float f; isinf(f);])
13 [Set to 1 if the isinf function is found in <math.h>])
17 [isinf], [<cmath>],
18 [float f; isinf(f);])
21 [Set to 1 if the isinf function is found in <cmath>])
25 [std::isinf], [<cmath>],
26 [float f; std::isinf(f);])
29 [Set to 1 if the std::isinf function is found in <cmath>])
/external/libcxx/test/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 …]
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 …]
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()
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/llvm/lib/Support/
DIsInf.cpp22 using std::isinf;
27 static int isinf(double x) { return !finite(x) && x==x; } in isinf() function
30 #define isinf(X) (!_finite(X)) macro
35 static int isinf(double x) { return !finite(x) && x==x; } in isinf() function
39 static int isinf(double x) { return ((x) == INFINITY) || ((x) == -INFINITY); } in isinf() function
46 int IsInf(float f) { return isinf(f); } in IsInf()
47 int IsInf(double d) { return isinf(d); } in IsInf()
/external/chromium_org/third_party/libxml/src/include/
Dwin32config.h51 #ifndef isinf
52 #define isinf(d) ((_fpclass(d) == _FPCLASS_PINF) ? 1 \ macro
60 #ifndef isinf
61 static int isinf (double d) { in isinf() function
/external/chromium_org/third_party/libxml/win32/
Dconfig.h51 #ifndef isinf
52 #define isinf(d) ((_fpclass(d) == _FPCLASS_PINF) ? 1 \ macro
60 #ifndef isinf
61 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/chromium_org/third_party/libxslt/libxslt/
Dwin32config.h38 #ifndef isinf
39 #define isinf(d) ((_fpclass(d) == _FPCLASS_PINF) ? 1 \ macro
47 static int isinf (double d) { in isinf() function
/external/protobuf/python/google/protobuf/internal/
Dgenerator_test.py87 def isinf(val): function
91 self.assertTrue(isinf(message.inf_double))
93 self.assertTrue(isinf(message.neg_inf_double))
97 self.assertTrue(isinf(message.inf_float))
99 self.assertTrue(isinf(message.neg_inf_float))
/external/libcxx/test/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/chromium_org/third_party/protobuf/python/google/protobuf/internal/
Dgenerator_test.py90 def isinf(val): function
94 self.assertTrue(isinf(message.inf_double))
96 self.assertTrue(isinf(message.neg_inf_double))
100 self.assertTrue(isinf(message.inf_float))
102 self.assertTrue(isinf(message.neg_inf_float))
/external/chromium_org/third_party/WebKit/Source/wtf/
DMathExtras.h128 inline bool isinf(double num) { return !_finite(num) && !_isnan(num); } in isinf() function
166 inline double wtf_fmod(double x, double y) { return (!std::isinf(x) && std::isinf(y)) ? x : fmod(x,… in wtf_fmod()
301 if (std::isnan(d) || std::isinf(d)) in doubleToInteger()
/external/chromium_org/third_party/WebKit/Source/platform/audio/
DDynamicsCompressorKernel.cpp289 if (std::isinf(m_detectorAverage)) in process()
317 if (std::isinf(compressionDiffDb)) in process()
345 if (std::isinf(compressionDiffDb)) in process()
413 if (std::isinf(detectorAverage)) in process()
/external/libcxx/test/numerics/complex.number/
Dcases.h183 if (std::isinf(x.real()) || std::isinf(x.imag())) in classify()
208 if (std::isinf(x)) in classify()
/external/chromium_org/v8/src/base/
Dqnx-math.h12 #undef isinf
Dwin32-math.h31 int isinf(double x);

12345