Skip to content

Commit

Permalink
dummy lrintl w/o inline asm
Browse files Browse the repository at this point in the history
  • Loading branch information
stsp committed Oct 23, 2024
1 parent f7ce1ea commit 5ba9b40
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions src/libc/c99/math/lrintl.c
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
/* Copyright (C) 2013 DJ Delorie, see COPYING.DJ for details */

#include <math.h>


long int
lrintl(long double x)
long lrintl(long double x)
{
long int result;

asm("fistpl %0" : "=m" (result) : "t" (x) : "st");

return result;
return rintl(x);
}

0 comments on commit 5ba9b40

Please sign in to comment.