mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-07-12 14:54:10 +00:00
fix exponential functions
This commit is contained in:
parent
32c3ba02d4
commit
dad3acceea
41 changed files with 180 additions and 354 deletions
|
@ -22,7 +22,7 @@ namespace sprout {
|
|||
template<typename T>
|
||||
inline SPROUT_CONSTEXPR sprout::complex<T>
|
||||
trunc(sprout::complex<T> const& x) {
|
||||
return sprout::complex<T>(sprout::trunc(x.real()), sprout::trunc(x.imag()));
|
||||
return sprout::complex<T>(sprout::math::trunc(x.real()), sprout::math::trunc(x.imag()));
|
||||
}
|
||||
template<typename T>
|
||||
inline SPROUT_CONSTEXPR sprout::complex<T>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue