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

rintf.c « math « mingwex « mingw « winsup - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 0b05e8f89b01721572af2c93e9ec30f3030587c8 (plain)
1
2
3
4
5
6
7
#include <math.h>

float rintf (float x){
  float retval;
  __asm__ ("frndint;": "=t" (retval) : "0" (x));
  return retval;
}