LibC: Remove unused code from math.cpp

These have been dead since c5f6ba6e71 in #8743.

No behavior change.
This commit is contained in:
Nico Weber authored and Lucas Chollet committed 2026-06-23 15:35:40 +02:00
1 parent afd64ca68e
commit 341274075a
1 file changed
-14
-14
View File
@@ -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,