Back to index

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

Go to the source code of this file.


#define __llround   not___llround
#define llround   not_llround


long int __lround (double x)

Define Documentation

#define __llround   not___llround

Definition at line 19 of file s_lround.c.

#define llround   not_llround

Definition at line 20 of file s_lround.c.

Function Documentation

long int __lround ( double  x)

Definition at line 27 of file s_lround.c.

  double adj;

  adj = 0x1.fffffffffffffp-2;      /* nextafter (0.5, 0.0) */
  adj = copysign (adj, x);
  return x + adj;

Here is the call graph for this function: