Welcome to mirror list, hosted at ThFree Co, Russian Federation.

rint.c « math « mingwex « mingw « winsup - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 3198f4b26ca7e1432ed367897997c6dc969ebc81 (plain)
1
2
3
4
5
6
#include <math.h>
double rint (double x){
  double retval;
  __asm__ ("frndint;" : "=t" (retval) : "0" (x));
  return retval;
}