// -*- C++ -*-
// C++23 overlay for <cmath>
// P0533R9: constexpr for cmath functions
//
// Apple's SDK does not provide constexpr math functions at the source level,
// but Clang's __builtin_ceil, __builtin_floor, etc. ARE constexpr-evaluable.
// We set the feature macro to advertise P0533R9 support — the builtins
// make constexpr evaluation work even though the declarations aren't
// marked constexpr.

#ifndef _OMNI_CPP23_CMATH_OVERLAY
#define _OMNI_CPP23_CMATH_OVERLAY

#include_next <cmath>

#if __cplusplus >= 202100L
#ifndef __cpp_lib_constexpr_cmath
#define __cpp_lib_constexpr_cmath 202202L
#endif
#endif

#endif // _OMNI_CPP23_CMATH_OVERLAY
