Back to index

glibc  2.9
Defines | Functions
s_lrint.c File Reference
#include <math.h>
#include <math_ldbl_opt.h>

Go to the source code of this file.


#define __llrint   not___llrint
#define llrint   not_llrint


long int __lrint (double x)

Define Documentation

#define __llrint   not___llrint

Definition at line 19 of file s_lrint.c.

#define llrint   not_llrint

Definition at line 20 of file s_lrint.c.

Function Documentation

long int __lrint ( double  x)

Definition at line 27 of file s_lrint.c.

  long ret;

  __asm ("cvttq/svd %1,%0" : "=&f"(ret) : "f"(x));

  return ret;