fabs() removed as abs() is enough
This commit is contained in:
1 parent
a8ca425e2d
commit
ac0f10184c
2 files changed
+21
-17
No files matched your search
@@ -59,12 +59,6 @@ constexpr Quantity AUTO abs(const quantity<D, U, Rep>& q) noexcept
|
||||
return quantity<D, U, Rep>(std::abs(q.count()));
|
||||
}
|
||||
|
||||
template<typename D, typename U, typename Rep>
|
||||
constexpr Quantity AUTO fabs(const quantity<D, U, Rep>& q) noexcept
|
||||
{
|
||||
return quantity<D, U, Rep>(std::fabs(q.count()));
|
||||
}
|
||||
|
||||
template<Quantity Q>
|
||||
constexpr Quantity AUTO epsilon() noexcept
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user