Skip to content

Commit

Permalink
Math/Trig.hpp - Test with C++ 2014 vs 2017
Browse files Browse the repository at this point in the history
  • Loading branch information
August2111 committed Oct 6, 2023
1 parent 9cab107 commit d356062
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/Math/Trig.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,13 @@

[[gnu::const]]
static inline std::pair<double, double>
sin_cos(const double thetha) noexcept
{
#if __cplusplus >= 201703
// sin_cos(const double thetha) noexcept {
// das ist nur ein Test, ob es wirklich daran liegt...
sin_cos(const double thetha) {
#else
sin_cos(const double thetha) {
#endif
double s, c;
#ifdef __APPLE__
__sincos(thetha, &s, &c);
Expand Down

0 comments on commit d356062

Please sign in to comment.