diff options
Diffstat (limited to 'sysdeps/aarch64/fpu/s_nearbyint.c')
-rw-r--r-- | sysdeps/aarch64/fpu/s_nearbyint.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/sysdeps/aarch64/fpu/s_nearbyint.c b/sysdeps/aarch64/fpu/s_nearbyint.c index 51067f2..6ba5de1 100644 --- a/sysdeps/aarch64/fpu/s_nearbyint.c +++ b/sysdeps/aarch64/fpu/s_nearbyint.c @@ -16,6 +16,12 @@ License along with the GNU C Library; if not, see <http://www.gnu.org/licenses/>. */ -#define FUNC nearbyint -#define INSN "frinti" -#include <s_frint.c> +#include <math.h> + +double +__nearbyint (double x) +{ + return __builtin_nearbyint (x); +} + +weak_alias (__nearbyint, nearbyint) |