mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-07-14 15:04:09 +00:00
replace implementation <cmath> functions to Sprout.Math.Functions
This commit is contained in:
parent
6ccd6e1cf4
commit
6bb2d0fb87
21 changed files with 212 additions and 106 deletions
|
@ -1,7 +1,6 @@
|
|||
#ifndef SPROUT_NUMERIC_DFT_FIXED_SINUSOID_HPP
|
||||
#define SPROUT_NUMERIC_DFT_FIXED_SINUSOID_HPP
|
||||
|
||||
#include <cmath>
|
||||
#include <sprout/config.hpp>
|
||||
#include <sprout/index_tuple.hpp>
|
||||
#include <sprout/container/traits.hpp>
|
||||
|
@ -9,6 +8,7 @@
|
|||
#include <sprout/container/indexes.hpp>
|
||||
#include <sprout/algorithm/fixed/result_of.hpp>
|
||||
#include <sprout/math/constants.hpp>
|
||||
#include <sprout/math/sin.hpp>
|
||||
|
||||
namespace sprout {
|
||||
namespace fixed {
|
||||
|
@ -26,7 +26,7 @@ namespace sprout {
|
|||
)
|
||||
{
|
||||
typedef typename sprout::container_traits<Container>::value_type value_type;
|
||||
using std::sin;
|
||||
using sprout::sin;
|
||||
return sprout::remake<Container>(
|
||||
cont,
|
||||
size,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue