/* Single-precision math error handling.
- Copyright (C) 2017-2018 Free Software Foundation, Inc.
+ Copyright (C) 2017-2023 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see
- <http://www.gnu.org/licenses/>. */
+ <https://www.gnu.org/licenses/>. */
#include "math_config.h"
# define with_errnof(x, e) (x)
#endif
+attribute_hidden float
+__math_edomf (float y)
+{
+ return with_errnof (y, EDOM);
+}
+
/* NOINLINE prevents fenv semantics breaking optimizations. */
NOINLINE static float
xflowf (uint32_t sign, float y)