github.com/afumu/libc@v0.0.6/musl/src/math/aarch64/round.c (about)

     1  #include <math.h>
     2  
     3  double round(double x)
     4  {
     5  	__asm__ ("frinta %d0, %d1" : "=w"(x) : "w"(x));
     6  	return x;
     7  }