fix math functions

This commit is contained in:
bolero-MURAKAMI 2013-02-14 18:02:43 +09:00
parent 5d809ef5c9
commit fa1d769bdf
76 changed files with 582 additions and 169 deletions

View file

@ -21,7 +21,7 @@ namespace sprout {
return sprout::detail::dft_element_gen(
first,
last,
2 * sprout::math::pi<elem_type>() * i / size
sprout::math::two_pi<elem_type>() * i / size
)
/ static_cast<elem_type>(size)
;