Home
last modified time | relevance | path

Searched refs:theta (Results 1 – 1 of 1) sorted by relevance

/ndk/sources/cxx-stl/llvm-libc++/test/numerics/complex.number/complex.value.ops/
Dpolar.pass.cpp30 test(const T& rho, const T& theta, std::complex<T> x) in test() argument
32 assert(std::polar(rho, theta) == x); in test()
53 double theta = imag(x[i]); in test_edges() local
54 std::complex<double> z = std::polar(r, theta); in test_edges()
58 if (std::signbit(r) || classify(theta) == inf || classify(theta) == NaN) in test_edges()
69 if (std::signbit(r) || classify(theta) == inf || classify(theta) == NaN) in test_edges()
88 if (classify(theta) != NaN && classify(theta) != inf) in test_edges()