Skip to content

Commit

Permalink
Korrektur der pi-Konstantendefinitionen
Browse files Browse the repository at this point in the history
  • Loading branch information
martinfehrs committed Sep 14, 2024
1 parent 1f68448 commit 42d02ae
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/zollstock/numbers.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ namespace zollstock::inline numbers
template <number_c Number>
constexpr quantity<units::rad, Number> pi_1_v{ std::numbers::pi_v<Number> };

inline constexpr quantity<units::_1, float > pi_f_1{ pi_rad_v<float > };
inline constexpr quantity<units::_1, double > pi_1 { pi_rad_v<double > };
inline constexpr quantity<units::_1, long double> pi_l_1{ pi_rad_v<long double> };
inline constexpr quantity<units::_1, float > pi_f_1{ pi_1_v<float > };
inline constexpr quantity<units::_1, double > pi_1 { pi_1_v<double > };
inline constexpr quantity<units::_1, long double> pi_l_1{ pi_1_v<long double> };


template <number_c Number>
Expand Down

0 comments on commit 42d02ae

Please sign in to comment.