diff options
Diffstat (limited to 'sysdeps/aarch64/fpu/s_lroundf.c')
-rw-r--r-- | sysdeps/aarch64/fpu/s_lroundf.c | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/sysdeps/aarch64/fpu/s_lroundf.c b/sysdeps/aarch64/fpu/s_lroundf.c index b30ddb6dbb..baf06938be 100644 --- a/sysdeps/aarch64/fpu/s_lroundf.c +++ b/sysdeps/aarch64/fpu/s_lroundf.c @@ -16,7 +16,12 @@ License along with the GNU C Library; if not, see <http://www.gnu.org/licenses/>. */ -#define FUNC lroundf -#define ITYPE float -#define IREG_SIZE 32 -#include <s_lround.c> +#include <math.h> + +long int +__lroundf (float x) +{ + return __builtin_lroundf (x); +} + +weak_alias (__lroundf, lroundf) |