From 885f5974cdf65b59415837ae97f5a14ef1350670 Mon Sep 17 00:00:00 2001 From: Kacper Date: Tue, 9 Dec 2025 19:20:15 +0100 Subject: feat: add gzip and new headers --- lib/libm/aarch64/round.c | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 lib/libm/aarch64/round.c (limited to 'lib/libm/aarch64/round.c') diff --git a/lib/libm/aarch64/round.c b/lib/libm/aarch64/round.c new file mode 100644 index 00000000..27b8e63f --- /dev/null +++ b/lib/libm/aarch64/round.c @@ -0,0 +1,7 @@ +#include + +double round(double x) +{ + __asm__("frinta %d0, %d1" : "=w"(x) : "w"(x)); + return x; +} -- cgit v1.2.3