Skip to content

Commit

Permalink
Remove remaining xxx2 decorators
Browse files Browse the repository at this point in the history
  • Loading branch information
jtlap authored Sep 24, 2024
1 parent ef84833 commit 04d5753
Show file tree
Hide file tree
Showing 90 changed files with 281 additions and 456 deletions.
4 changes: 2 additions & 2 deletions benchmarks/module/math/cos/full_circle/cos.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ int main()

eve::bench::experiment xp;
run<EVE_VALUE>(EVE_NAME(scalar std::cos) , xp, std__cos , arg0);
run<EVE_VALUE>(EVE_NAME(full_circle(cos)) , xp, eve::cos[eve::full_circle2], arg0);
run<EVE_TYPE >(EVE_NAME(full_circle(cos)) , xp, eve::cos[eve::full_circle2], arg0);
run<EVE_VALUE>(EVE_NAME(full_circle(cos)) , xp, eve::cos[eve::full_circle], arg0);
run<EVE_TYPE >(EVE_NAME(full_circle(cos)) , xp, eve::cos[eve::full_circle], arg0);
run<EVE_VALUE>(EVE_NAME(eve::cos) , xp, eve::cos , arg0);
run<EVE_TYPE >(EVE_NAME(eve::cos) , xp, eve::cos , arg0);
}
6 changes: 3 additions & 3 deletions benchmarks/module/math/cos/half_circle/cos.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@

int main()
{
auto lmax = eve::Rempio2_limit[eve::half_circle2](eve::as<EVE_VALUE>());
auto lmax = eve::Rempio2_limit[eve::half_circle](eve::as<EVE_VALUE>());
auto lmin = -lmax;

auto arg0 = eve::bench::random_<EVE_VALUE>(lmin,lmax);
auto std__cos = [](auto x){return std::cos(x);};

eve::bench::experiment xp;
run<EVE_VALUE>(EVE_NAME(std__cos) , xp, std__cos , arg0);
run<EVE_VALUE>(EVE_NAME(cos[eve::half_circle2]) , xp, eve::cos[eve::half_circle2] , arg0);
run<EVE_TYPE> (EVE_NAME(cos[eve::half_circle2]) , xp, eve::cos[eve::half_circle2] , arg0);
run<EVE_VALUE>(EVE_NAME(cos[eve::half_circle]) , xp, eve::cos[eve::half_circle] , arg0);
run<EVE_TYPE> (EVE_NAME(cos[eve::half_circle]) , xp, eve::cos[eve::half_circle] , arg0);
run<EVE_VALUE>(EVE_NAME(eve::cos) , xp, eve::cos , arg0);
run<EVE_TYPE >(EVE_NAME(eve::cos) , xp, eve::cos , arg0);

Expand Down
4 changes: 2 additions & 2 deletions benchmarks/module/math/cos/quarter_circle/cos.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ int main()

eve::bench::experiment xp;
run<EVE_VALUE>(EVE_NAME(scalar std::cos) , xp, std__cos , arg0);
run<EVE_VALUE>(EVE_NAME(quarter_circle(cos)) , xp, eve::cos[eve::quarter_circle2], arg0);
run<EVE_TYPE >(EVE_NAME(quarter_circle(cos)) , xp, eve::cos[eve::quarter_circle2], arg0);
run<EVE_VALUE>(EVE_NAME(quarter_circle(cos)) , xp, eve::cos[eve::quarter_circle], arg0);
run<EVE_TYPE >(EVE_NAME(quarter_circle(cos)) , xp, eve::cos[eve::quarter_circle], arg0);
run<EVE_VALUE>(EVE_NAME(cos) , xp, eve::cos , arg0);
run<EVE_TYPE >(EVE_NAME(cos) , xp, eve::cos , arg0);
}
4 changes: 2 additions & 2 deletions benchmarks/module/math/cosd/half_circle/cosd.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ int main()
auto arg0 = eve::bench::random_<EVE_VALUE>(lmin,lmax);

eve::bench::experiment xp;
run<EVE_VALUE>(EVE_NAME(cosd[eve::half_circle2]) , xp, eve::cosd[eve::half_circle2] , arg0);
run<EVE_TYPE> (EVE_NAME(cosd[eve::half_circle2]) , xp, eve::cosd[eve::half_circle2] , arg0);
run<EVE_VALUE>(EVE_NAME(cosd[eve::half_circle]) , xp, eve::cosd[eve::half_circle] , arg0);
run<EVE_TYPE> (EVE_NAME(cosd[eve::half_circle]) , xp, eve::cosd[eve::half_circle] , arg0);

}
4 changes: 2 additions & 2 deletions benchmarks/module/math/cosd/quarter_circle/cosd.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ int main()
auto arg0 = eve::bench::random_<EVE_VALUE>(lmin,lmax);

eve::bench::experiment xp;
run<EVE_VALUE>(EVE_NAME(cosd[eve::quarter_circle2]) , xp, eve::cosd[eve::quarter_circle2] , arg0);
run<EVE_TYPE> (EVE_NAME(cosd[eve::quarter_circle2]) , xp, eve::cosd[eve::quarter_circle2] , arg0);
run<EVE_VALUE>(EVE_NAME(cosd[eve::quarter_circle]) , xp, eve::cosd[eve::quarter_circle] , arg0);
run<EVE_TYPE> (EVE_NAME(cosd[eve::quarter_circle]) , xp, eve::cosd[eve::quarter_circle] , arg0);
}
4 changes: 2 additions & 2 deletions benchmarks/module/math/cospi/quarter_circle/cospi.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ int main()
auto arg0 = eve::bench::random_<EVE_VALUE>(lmin,lmax);

eve::bench::experiment xp;
run<EVE_VALUE>(EVE_NAME(cospi[eve::quarter_circle2]) , xp, eve::cospi[eve::quarter_circle2] , arg0);
run<EVE_TYPE> (EVE_NAME(cospi[eve::quarter_circle2]) , xp, eve::cospi[eve::quarter_circle2] , arg0);
run<EVE_VALUE>(EVE_NAME(cospi[eve::quarter_circle]) , xp, eve::cospi[eve::quarter_circle] , arg0);
run<EVE_TYPE> (EVE_NAME(cospi[eve::quarter_circle]) , xp, eve::cospi[eve::quarter_circle] , arg0);
}
6 changes: 3 additions & 3 deletions benchmarks/module/math/cot/full_circle/cot.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@

int main()
{
auto lmax = eve::Rempio2_limit[eve::full_circle2](eve::as<EVE_VALUE>());
auto lmax = eve::Rempio2_limit[eve::full_circle](eve::as<EVE_VALUE>());
auto lmin = -lmax;

auto arg0 = eve::bench::random_<EVE_VALUE>(lmin,lmax);
auto std__cot = [](auto x){return 1/std::tan(x);};

eve::bench::experiment xp;
run<EVE_VALUE>(EVE_NAME(std__cot) , xp, std__cot , arg0);
run<EVE_VALUE>(EVE_NAME(cot[eve::full_circle2]) , xp, eve::cot[eve::full_circle2] , arg0);
run<EVE_TYPE> (EVE_NAME(cot[eve::full_circle2]) , xp, eve::cot[eve::full_circle2] , arg0);
run<EVE_VALUE>(EVE_NAME(cot[eve::full_circle]) , xp, eve::cot[eve::full_circle] , arg0);
run<EVE_TYPE> (EVE_NAME(cot[eve::full_circle]) , xp, eve::cot[eve::full_circle] , arg0);

}
6 changes: 3 additions & 3 deletions benchmarks/module/math/cot/half_circle/cot.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@

int main()
{
auto lmax = eve::Rempio2_limit[eve::half_circle2](eve::as<EVE_VALUE>());
auto lmax = eve::Rempio2_limit[eve::half_circle](eve::as<EVE_VALUE>());
auto lmin = -lmax;

auto arg0 = eve::bench::random_<EVE_VALUE>(lmin,lmax);
auto std__cot = [](auto x){return 1/std::tan(x);};

eve::bench::experiment xp;
run<EVE_VALUE>(EVE_NAME(std__cot) , xp, std__cot , arg0);
run<EVE_VALUE>(EVE_NAME(cot[eve::half_circle2]) , xp, eve::cot[eve::half_circle2] , arg0);
run<EVE_TYPE> (EVE_NAME(cot[eve::half_circle2]) , xp, eve::cot[eve::half_circle2] , arg0);
run<EVE_VALUE>(EVE_NAME(cot[eve::half_circle]) , xp, eve::cot[eve::half_circle] , arg0);
run<EVE_TYPE> (EVE_NAME(cot[eve::half_circle]) , xp, eve::cot[eve::half_circle] , arg0);

}
4 changes: 2 additions & 2 deletions benchmarks/module/math/cot/quarter_circle/cot.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ int main()

eve::bench::experiment xp;
run<EVE_VALUE>(EVE_NAME(std__cot) , xp, std__cot , arg0);
run<EVE_VALUE>(EVE_NAME(cot[eve::quarter_circle2]) , xp, eve::cot[eve::quarter_circle2] , arg0);
run<EVE_TYPE> (EVE_NAME(cot[eve::quarter_circle2]) , xp, eve::cot[eve::quarter_circle2] , arg0);
run<EVE_VALUE>(EVE_NAME(cot[eve::quarter_circle]) , xp, eve::cot[eve::quarter_circle] , arg0);
run<EVE_TYPE> (EVE_NAME(cot[eve::quarter_circle]) , xp, eve::cot[eve::quarter_circle] , arg0);
}
4 changes: 2 additions & 2 deletions benchmarks/module/math/cotd/half_circle/cotd.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ int main()
auto arg0 = eve::bench::random_<EVE_VALUE>(lmin,lmax);

eve::bench::experiment xp;
run<EVE_VALUE>(EVE_NAME(cotd[eve::half_circle2]) , xp, eve::cotd[eve::half_circle2] , arg0);
run<EVE_TYPE> (EVE_NAME(cotd[eve::half_circle2]) , xp, eve::cotd[eve::half_circle2] , arg0);
run<EVE_VALUE>(EVE_NAME(cotd[eve::half_circle]) , xp, eve::cotd[eve::half_circle] , arg0);
run<EVE_TYPE> (EVE_NAME(cotd[eve::half_circle]) , xp, eve::cotd[eve::half_circle] , arg0);

}
4 changes: 2 additions & 2 deletions benchmarks/module/math/cotd/quarter_circle/cotd.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ int main()
auto arg0 = eve::bench::random_<EVE_VALUE>(lmin,lmax);

eve::bench::experiment xp;
run<EVE_VALUE>(EVE_NAME(cotd[eve::quarter_circle2]) , xp, eve::cotd[eve::quarter_circle2] , arg0);
run<EVE_TYPE> (EVE_NAME(cotd[eve::quarter_circle2]) , xp, eve::cotd[eve::quarter_circle2] , arg0);
run<EVE_VALUE>(EVE_NAME(cotd[eve::quarter_circle]) , xp, eve::cotd[eve::quarter_circle] , arg0);
run<EVE_TYPE> (EVE_NAME(cotd[eve::quarter_circle]) , xp, eve::cotd[eve::quarter_circle] , arg0);
}
4 changes: 2 additions & 2 deletions benchmarks/module/math/cotpi/quarter_circle/cotpi.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ int main()
auto arg0 = eve::bench::random_<EVE_VALUE>(lmin,lmax);

eve::bench::experiment xp;
run<EVE_VALUE>(EVE_NAME(cotpi[eve::quarter_circle2]) , xp, eve::cotpi[eve::quarter_circle2] , arg0);
run<EVE_TYPE> (EVE_NAME(cotpi[eve::quarter_circle2]) , xp, eve::cotpi[eve::quarter_circle2] , arg0);
run<EVE_VALUE>(EVE_NAME(cotpi[eve::quarter_circle]) , xp, eve::cotpi[eve::quarter_circle] , arg0);
run<EVE_TYPE> (EVE_NAME(cotpi[eve::quarter_circle]) , xp, eve::cotpi[eve::quarter_circle] , arg0);
}
6 changes: 3 additions & 3 deletions benchmarks/module/math/csc/full_circle/csc.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@

int main()
{
auto lmax = eve::Rempio2_limit[eve::full_circle2](eve::as<EVE_VALUE>());
auto lmax = eve::Rempio2_limit[eve::full_circle](eve::as<EVE_VALUE>());
auto lmin = -lmax;

auto arg0 = eve::bench::random_<EVE_VALUE>(lmin,lmax);
auto std__csc = [](auto x){return 1/std::sin(x);};

eve::bench::experiment xp;
run<EVE_VALUE>(EVE_NAME(std__csc) , xp, std__csc , arg0);
run<EVE_VALUE>(EVE_NAME(csc[eve::full_circle2]) , xp, eve::csc[eve::full_circle2] , arg0);
run<EVE_TYPE> (EVE_NAME(csc[eve::full_circle2]) , xp, eve::csc[eve::full_circle2] , arg0);
run<EVE_VALUE>(EVE_NAME(csc[eve::full_circle]) , xp, eve::csc[eve::full_circle] , arg0);
run<EVE_TYPE> (EVE_NAME(csc[eve::full_circle]) , xp, eve::csc[eve::full_circle] , arg0);

}
6 changes: 3 additions & 3 deletions benchmarks/module/math/csc/half_circle/csc.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@

int main()
{
auto lmax = eve::Rempio2_limit[eve::half_circle2](eve::as<EVE_VALUE>());
auto lmax = eve::Rempio2_limit[eve::half_circle](eve::as<EVE_VALUE>());
auto lmin = -lmax;

auto arg0 = eve::bench::random_<EVE_VALUE>(lmin,lmax);
auto std__csc = [](auto x){return 1/std::sin(x);};

eve::bench::experiment xp;
run<EVE_VALUE>(EVE_NAME(std__csc) , xp, std__csc , arg0);
run<EVE_VALUE>(EVE_NAME(csc[eve::half_circle2]) , xp, eve::csc[eve::half_circle2] , arg0);
run<EVE_TYPE> (EVE_NAME(csc[eve::half_circle2]) , xp, eve::csc[eve::half_circle2] , arg0);
run<EVE_VALUE>(EVE_NAME(csc[eve::half_circle]) , xp, eve::csc[eve::half_circle] , arg0);
run<EVE_TYPE> (EVE_NAME(csc[eve::half_circle]) , xp, eve::csc[eve::half_circle] , arg0);

}
4 changes: 2 additions & 2 deletions benchmarks/module/math/csc/quarter_circle/csc.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ int main()

eve::bench::experiment xp;
run<EVE_VALUE>(EVE_NAME(std__csc) , xp, std__csc , arg0);
run<EVE_VALUE>(EVE_NAME(csc[eve::quarter_circle2]) , xp, eve::csc[eve::quarter_circle2] , arg0);
run<EVE_TYPE> (EVE_NAME(csc[eve::quarter_circle2]) , xp, eve::csc[eve::quarter_circle2] , arg0);
run<EVE_VALUE>(EVE_NAME(csc[eve::quarter_circle]) , xp, eve::csc[eve::quarter_circle] , arg0);
run<EVE_TYPE> (EVE_NAME(csc[eve::quarter_circle]) , xp, eve::csc[eve::quarter_circle] , arg0);
}
4 changes: 2 additions & 2 deletions benchmarks/module/math/cscd/half_circle/cscd.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ int main()
auto arg0 = eve::bench::random_<EVE_VALUE>(lmin,lmax);

eve::bench::experiment xp;
run<EVE_VALUE>(EVE_NAME(cscd[eve::half_circle2]) , xp, eve::cscd[eve::half_circle2] , arg0);
run<EVE_TYPE> (EVE_NAME(cscd[eve::half_circle2]) , xp, eve::cscd[eve::half_circle2] , arg0);
run<EVE_VALUE>(EVE_NAME(cscd[eve::half_circle]) , xp, eve::cscd[eve::half_circle] , arg0);
run<EVE_TYPE> (EVE_NAME(cscd[eve::half_circle]) , xp, eve::cscd[eve::half_circle] , arg0);

}
4 changes: 2 additions & 2 deletions benchmarks/module/math/cscd/quarter_circle/cscd.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ int main()
auto arg0 = eve::bench::random_<EVE_VALUE>(lmin,lmax);

eve::bench::experiment xp;
run<EVE_VALUE>(EVE_NAME(cscd[eve::quarter_circle2]) , xp, eve::cscd[eve::quarter_circle2] , arg0);
run<EVE_TYPE> (EVE_NAME(cscd[eve::quarter_circle2]) , xp, eve::cscd[eve::quarter_circle2] , arg0);
run<EVE_VALUE>(EVE_NAME(cscd[eve::quarter_circle]) , xp, eve::cscd[eve::quarter_circle] , arg0);
run<EVE_TYPE> (EVE_NAME(cscd[eve::quarter_circle]) , xp, eve::cscd[eve::quarter_circle] , arg0);
}
4 changes: 2 additions & 2 deletions benchmarks/module/math/cscpi/quarter_circle/cscpi.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ int main()
auto arg0 = eve::bench::random_<EVE_VALUE>(lmin,lmax);

eve::bench::experiment xp;
run<EVE_VALUE>(EVE_NAME(cscpi[eve::quarter_circle2]) , xp, eve::cscpi[eve::quarter_circle2] , arg0);
run<EVE_TYPE> (EVE_NAME(cscpi[eve::quarter_circle2]) , xp, eve::cscpi[eve::quarter_circle2] , arg0);
run<EVE_VALUE>(EVE_NAME(cscpi[eve::quarter_circle]) , xp, eve::cscpi[eve::quarter_circle] , arg0);
run<EVE_TYPE> (EVE_NAME(cscpi[eve::quarter_circle]) , xp, eve::cscpi[eve::quarter_circle] , arg0);
}
4 changes: 2 additions & 2 deletions benchmarks/module/math/rempio2/full_circle/rempio2.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ int main()

eve::bench::experiment xp;
run<EVE_VALUE>(EVE_NAME(scalar std::cos) , xp, std__cos , arg0);
run<EVE_VALUE>(EVE_NAME(full_circle(cos)) , xp, eve::cos[eve::full_circle2], arg0);
run<EVE_TYPE >(EVE_NAME(full_circle(cos)) , xp, eve::cos[eve::full_circle2], arg0);
run<EVE_VALUE>(EVE_NAME(full_circle(cos)) , xp, eve::cos[eve::full_circle], arg0);
run<EVE_TYPE >(EVE_NAME(full_circle(cos)) , xp, eve::cos[eve::full_circle], arg0);
run<EVE_VALUE>(EVE_NAME(eve::cos) , xp, eve::cos , arg0);
run<EVE_TYPE >(EVE_NAME(eve::cos) , xp, eve::cos , arg0);
}
6 changes: 3 additions & 3 deletions benchmarks/module/math/rempio2/half_circle/rempio2.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@

int main()
{
auto lmax = eve::Rempio2_limit[eve::half_circle2](eve::as<EVE_VALUE>());
auto lmax = eve::Rempio2_limit[eve::half_circle](eve::as<EVE_VALUE>());
auto lmin = -lmax;

auto arg0 = eve::bench::random_<EVE_VALUE>(lmin,lmax);
auto std__cos = [](auto x){return std::cos(x);};

eve::bench::experiment xp;
run<EVE_VALUE>(EVE_NAME(std__cos) , xp, std__cos , arg0);
run<EVE_VALUE>(EVE_NAME(cos[eve::half_circle2]) , xp, eve::cos[eve::half_circle2] , arg0);
run<EVE_TYPE> (EVE_NAME(cos[eve::half_circle2]) , xp, eve::cos[eve::half_circle2] , arg0);
run<EVE_VALUE>(EVE_NAME(cos[eve::half_circle]) , xp, eve::cos[eve::half_circle] , arg0);
run<EVE_TYPE> (EVE_NAME(cos[eve::half_circle]) , xp, eve::cos[eve::half_circle] , arg0);
run<EVE_VALUE>(EVE_NAME(eve::cos) , xp, eve::cos , arg0);
run<EVE_TYPE >(EVE_NAME(eve::cos) , xp, eve::cos , arg0);

Expand Down
4 changes: 2 additions & 2 deletions benchmarks/module/math/rempio2/quarter_circle/rempio2.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ int main()

eve::bench::experiment xp;
run<EVE_VALUE>(EVE_NAME(scalar std::cos) , xp, std__cos , arg0);
run<EVE_VALUE>(EVE_NAME(quarter_circle(cos)) , xp, eve::cos[eve::quarter_circle2], arg0);
run<EVE_TYPE >(EVE_NAME(quarter_circle(cos)) , xp, eve::cos[eve::quarter_circle2], arg0);
run<EVE_VALUE>(EVE_NAME(quarter_circle(cos)) , xp, eve::cos[eve::quarter_circle], arg0);
run<EVE_TYPE >(EVE_NAME(quarter_circle(cos)) , xp, eve::cos[eve::quarter_circle], arg0);
run<EVE_VALUE>(EVE_NAME(cos) , xp, eve::cos , arg0);
run<EVE_TYPE >(EVE_NAME(cos) , xp, eve::cos , arg0);
}
6 changes: 3 additions & 3 deletions benchmarks/module/math/sec/full_circle/sec.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@

int main()
{
auto lmax = eve::Rempio2_limit[eve::full_circle2](eve::as<EVE_VALUE>());
auto lmax = eve::Rempio2_limit[eve::full_circle](eve::as<EVE_VALUE>());
auto lmin = -lmax;

auto arg0 = eve::bench::random_<EVE_VALUE>(lmin,lmax);
auto std__sec = [](auto x){return 1/std::cos(x);};

eve::bench::experiment xp;
run<EVE_VALUE>(EVE_NAME(std__sec) , xp, std__sec , arg0);
run<EVE_VALUE>(EVE_NAME(sec[eve::full_circle2]) , xp, eve::sec[eve::full_circle2] , arg0);
run<EVE_TYPE> (EVE_NAME(sec[eve::full_circle2]) , xp, eve::sec[eve::full_circle2] , arg0);
run<EVE_VALUE>(EVE_NAME(sec[eve::full_circle]) , xp, eve::sec[eve::full_circle] , arg0);
run<EVE_TYPE> (EVE_NAME(sec[eve::full_circle]) , xp, eve::sec[eve::full_circle] , arg0);

}
6 changes: 3 additions & 3 deletions benchmarks/module/math/sec/half_circle/sec.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@

int main()
{
auto lmax = eve::Rempio2_limit[eve::half_circle2](eve::as<EVE_VALUE>());
auto lmax = eve::Rempio2_limit[eve::half_circle](eve::as<EVE_VALUE>());
auto lmin = -lmax;

auto arg0 = eve::bench::random_<EVE_VALUE>(lmin,lmax);
auto std__sec = [](auto x){return 1/std::cos(x);};

eve::bench::experiment xp;
run<EVE_VALUE>(EVE_NAME(std__sec) , xp, std__sec , arg0);
run<EVE_VALUE>(EVE_NAME(sec[eve::half_circle2]) , xp, eve::sec[eve::half_circle2] , arg0);
run<EVE_TYPE> (EVE_NAME(sec[eve::half_circle2]) , xp, eve::sec[eve::half_circle2] , arg0);
run<EVE_VALUE>(EVE_NAME(sec[eve::half_circle]) , xp, eve::sec[eve::half_circle] , arg0);
run<EVE_TYPE> (EVE_NAME(sec[eve::half_circle]) , xp, eve::sec[eve::half_circle] , arg0);

}
4 changes: 2 additions & 2 deletions benchmarks/module/math/sec/quarter_circle/sec.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ int main()

eve::bench::experiment xp;
run<EVE_VALUE>(EVE_NAME(std__sec) , xp, std__sec , arg0);
run<EVE_VALUE>(EVE_NAME(sec[eve::quarter_circle2]) , xp, eve::sec[eve::quarter_circle2] , arg0);
run<EVE_TYPE> (EVE_NAME(sec[eve::quarter_circle2]) , xp, eve::sec[eve::quarter_circle2] , arg0);
run<EVE_VALUE>(EVE_NAME(sec[eve::quarter_circle]) , xp, eve::sec[eve::quarter_circle] , arg0);
run<EVE_TYPE> (EVE_NAME(sec[eve::quarter_circle]) , xp, eve::sec[eve::quarter_circle] , arg0);
}
4 changes: 2 additions & 2 deletions benchmarks/module/math/secd/half_circle/secd.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ int main()
auto arg0 = eve::bench::random_<EVE_VALUE>(lmin,lmax);

eve::bench::experiment xp;
run<EVE_VALUE>(EVE_NAME(secd[eve::half_circle2]) , xp, eve::secd[eve::half_circle2] , arg0);
run<EVE_TYPE> (EVE_NAME(secd[eve::half_circle2]) , xp, eve::secd[eve::half_circle2] , arg0);
run<EVE_VALUE>(EVE_NAME(secd[eve::half_circle]) , xp, eve::secd[eve::half_circle] , arg0);
run<EVE_TYPE> (EVE_NAME(secd[eve::half_circle]) , xp, eve::secd[eve::half_circle] , arg0);

}
4 changes: 2 additions & 2 deletions benchmarks/module/math/secd/quarter_circle/secd.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ int main()
auto arg0 = eve::bench::random_<EVE_VALUE>(lmin,lmax);

eve::bench::experiment xp;
run<EVE_VALUE>(EVE_NAME(secd[eve::quarter_circle2]) , xp, eve::secd[eve::quarter_circle2] , arg0);
run<EVE_TYPE> (EVE_NAME(secd[eve::quarter_circle2]) , xp, eve::secd[eve::quarter_circle2] , arg0);
run<EVE_VALUE>(EVE_NAME(secd[eve::quarter_circle]) , xp, eve::secd[eve::quarter_circle] , arg0);
run<EVE_TYPE> (EVE_NAME(secd[eve::quarter_circle]) , xp, eve::secd[eve::quarter_circle] , arg0);
}
4 changes: 2 additions & 2 deletions benchmarks/module/math/secpi/quarter_circle/secpi.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ int main()
auto arg0 = eve::bench::random_<EVE_VALUE>(lmin,lmax);

eve::bench::experiment xp;
run<EVE_VALUE>(EVE_NAME(secpi[eve::quarter_circle2]) , xp, eve::secpi[eve::quarter_circle2] , arg0);
run<EVE_TYPE> (EVE_NAME(secpi[eve::quarter_circle2]) , xp, eve::secpi[eve::quarter_circle2] , arg0);
run<EVE_VALUE>(EVE_NAME(secpi[eve::quarter_circle]) , xp, eve::secpi[eve::quarter_circle] , arg0);
run<EVE_TYPE> (EVE_NAME(secpi[eve::quarter_circle]) , xp, eve::secpi[eve::quarter_circle] , arg0);
}
6 changes: 3 additions & 3 deletions benchmarks/module/math/sin/full_circle/sin.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@

int main()
{
auto lmax = eve::Rempio2_limit[eve::full_circle2](eve::as<EVE_VALUE>());
auto lmax = eve::Rempio2_limit[eve::full_circle](eve::as<EVE_VALUE>());
auto lmin = -lmax;

auto arg0 = eve::bench::random_<EVE_VALUE>(lmin,lmax);
auto std__sin = [](auto x){return std::sin(x);};

eve::bench::experiment xp;
run<EVE_VALUE>(EVE_NAME(std__sin) , xp, std__sin , arg0);
run<EVE_VALUE>(EVE_NAME(sin[eve::full_circle2]) , xp, eve::sin[eve::full_circle2] , arg0);
run<EVE_TYPE> (EVE_NAME(sin[eve::full_circle2]) , xp, eve::sin[eve::full_circle2] , arg0);
run<EVE_VALUE>(EVE_NAME(sin[eve::full_circle]) , xp, eve::sin[eve::full_circle] , arg0);
run<EVE_TYPE> (EVE_NAME(sin[eve::full_circle]) , xp, eve::sin[eve::full_circle] , arg0);

}
6 changes: 3 additions & 3 deletions benchmarks/module/math/sin/half_circle/sin.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@

int main()
{
auto lmax = eve::Rempio2_limit[eve::half_circle2](eve::as<EVE_VALUE>());
auto lmax = eve::Rempio2_limit[eve::half_circle](eve::as<EVE_VALUE>());
auto lmin = -lmax;

auto arg0 = eve::bench::random_<EVE_VALUE>(lmin,lmax);
auto std__sin = [](auto x){return std::sin(x);};

eve::bench::experiment xp;
run<EVE_VALUE>(EVE_NAME(std__sin) , xp, std__sin , arg0);
run<EVE_VALUE>(EVE_NAME(sin[eve::half_circle2]) , xp, eve::sin[eve::half_circle2] , arg0);
run<EVE_TYPE> (EVE_NAME(sin[eve::half_circle2]) , xp, eve::sin[eve::half_circle2] , arg0);
run<EVE_VALUE>(EVE_NAME(sin[eve::half_circle]) , xp, eve::sin[eve::half_circle] , arg0);
run<EVE_TYPE> (EVE_NAME(sin[eve::half_circle]) , xp, eve::sin[eve::half_circle] , arg0);

}
4 changes: 2 additions & 2 deletions benchmarks/module/math/sin/quarter_circle/sin.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ int main()

eve::bench::experiment xp;
run<EVE_VALUE>(EVE_NAME(std__sin) , xp, std__sin , arg0);
run<EVE_VALUE>(EVE_NAME(sin[eve::quarter_circle2]) , xp, eve::sin[eve::quarter_circle2] , arg0);
run<EVE_TYPE> (EVE_NAME(sin[eve::quarter_circle2]) , xp, eve::sin[eve::quarter_circle2] , arg0);
run<EVE_VALUE>(EVE_NAME(sin[eve::quarter_circle]) , xp, eve::sin[eve::quarter_circle] , arg0);
run<EVE_TYPE> (EVE_NAME(sin[eve::quarter_circle]) , xp, eve::sin[eve::quarter_circle] , arg0);
}
Loading

0 comments on commit 04d5753

Please sign in to comment.