Mercurial > hg > vamp-build-and-test
comparison DEPENDENCIES/generic/include/boost/tr1/complex.hpp @ 101:c530137014c0
Update Boost headers (1.58.0)
author | Chris Cannam |
---|---|
date | Mon, 07 Sep 2015 11:12:49 +0100 |
parents | 2665513ce2d3 |
children |
comparison
equal
deleted
inserted
replaced
100:793467b5e61c | 101:c530137014c0 |
---|---|
115 std::complex<float> ct(t); | 115 std::complex<float> ct(t); |
116 ct = ::std::conj(ct); | 116 ct = ::std::conj(ct); |
117 return ct; | 117 return ct; |
118 } | 118 } |
119 | 119 |
120 #if !BOOST_WORKAROUND(__BORLANDC__, <=0x570) && !BOOST_WORKAROUND(BOOST_MSVC, < 1310) | 120 #if !BOOST_WORKAROUND(__BORLANDC__, <=0x570) |
121 inline complex<double> polar(const char& rho, const char& theta = 0) | 121 inline complex<double> polar(const char& rho, const char& theta = 0) |
122 { return ::std::polar(static_cast<double>(rho), static_cast<double>(theta)); } | 122 { return ::std::polar(static_cast<double>(rho), static_cast<double>(theta)); } |
123 inline complex<double> polar(const unsigned char& rho, const unsigned char& theta = 0) | 123 inline complex<double> polar(const unsigned char& rho, const unsigned char& theta = 0) |
124 { return ::std::polar(static_cast<double>(rho), static_cast<double>(theta)); } | 124 { return ::std::polar(static_cast<double>(rho), static_cast<double>(theta)); } |
125 inline complex<double> polar(const signed char& rho, const signed char& theta = 0) | 125 inline complex<double> polar(const signed char& rho, const signed char& theta = 0) |