mirror of
https://github.com/SerenityOS/serenity.git
synced 2026-11-07 04:29:30 -10:00
LibC: Remove unused code from math.cpp
These have been dead since c5f6ba6e71 in #8743.
No behavior change.
This commit is contained in:
1 parent
afd64ca68e
commit
341274075a
1 file changed
-14
@@ -25,20 +25,6 @@
|
||||
# pragma clang diagnostic ignored "-Wdouble-promotion"
|
||||
#endif
|
||||
|
||||
template<size_t>
|
||||
constexpr size_t product_even();
|
||||
template<>
|
||||
constexpr size_t product_even<2>() { return 2; }
|
||||
template<size_t value>
|
||||
constexpr size_t product_even() { return value * product_even<value - 2>(); }
|
||||
|
||||
template<size_t>
|
||||
constexpr size_t product_odd();
|
||||
template<>
|
||||
constexpr size_t product_odd<1>() { return 1; }
|
||||
template<size_t value>
|
||||
constexpr size_t product_odd() { return value * product_odd<value - 2>(); }
|
||||
|
||||
enum class RoundingMode {
|
||||
ToZero = FE_TOWARDZERO,
|
||||
Up = FE_UPWARD,
|
||||
|
||||
Reference in new issue
Block a user