mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-09 14:50:05 +00:00
Update math: redirect roundeven function
Redirect target specific roundeven functions for aarch64, ldbl-128ibm and riscv.
This commit is contained in:
parent
eb9066203f
commit
3213ed770c
@ -16,6 +16,7 @@
|
||||
License along with the GNU C Library; if not, see
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
#define NO_MATH_REDIRECT
|
||||
#include <math.h>
|
||||
#include <libm-alias-double.h>
|
||||
|
||||
@ -25,5 +26,4 @@ __roundeven (double x)
|
||||
asm volatile ("frintn \t%d0, %d1" : "=w" (x) : "w" (x));
|
||||
return x;
|
||||
}
|
||||
hidden_def (__roundeven)
|
||||
libm_alias_double (__roundeven, roundeven)
|
||||
|
@ -16,6 +16,7 @@
|
||||
License along with the GNU C Library; if not, see
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
#define NO_MATH_REDIRECT
|
||||
#include <math.h>
|
||||
#include <libm-alias-float.h>
|
||||
|
||||
|
@ -17,6 +17,7 @@
|
||||
License along with the GNU C Library; if not, see
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
#define NO_MATH_REDIRECT
|
||||
#include <math.h>
|
||||
#include <math_private.h>
|
||||
|
||||
|
@ -16,6 +16,7 @@
|
||||
License along with the GNU C Library; if not, see
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
#define NO_MATH_REDIRECT
|
||||
#include <math.h>
|
||||
#include <fenv_private.h>
|
||||
#include <libm-alias-double.h>
|
||||
@ -49,5 +50,4 @@ __roundeven (double x)
|
||||
return x;
|
||||
}
|
||||
|
||||
hidden_def (__roundeven)
|
||||
libm_alias_double (__roundeven, roundeven)
|
||||
|
@ -16,6 +16,7 @@
|
||||
License along with the GNU C Library; if not, see
|
||||
<https://www.gnu.org/licenses/>. */
|
||||
|
||||
#define NO_MATH_REDIRECT
|
||||
#include <math.h>
|
||||
#include <fenv_private.h>
|
||||
#include <libm-alias-float.h>
|
||||
|
Loading…
Reference in New Issue
Block a user