Back to index

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

Go to the source code of this file.

Defines

#define __llroundf   not___llroundf
#define llroundf   not_llroundf

Functions

long int __lroundf (float x)

Define Documentation

#define __llroundf   not___llroundf

Definition at line 19 of file s_lroundf.c.

#define llroundf   not_llroundf

Definition at line 20 of file s_lroundf.c.


Function Documentation

long int __lroundf ( float  x)

Definition at line 27 of file s_lroundf.c.

{
  float adj;

  adj = 0x1.fffffep-2;             /* nextafterf (0.5f, 0.0f) */
  adj = copysignf (adj, x);
  return x + adj;
}