#include <limits.h>
#include <math.h>
Include dependency graph for rndint.c:
Go to the source code of this file.
Data Structures | |
union | DblInHex |
Defines | |
#define | asm(x) |
#define | SET_INVALID 0x01000000UL |
Functions | |
double | nearbyint (double x) |
long int | rinttol (double x) |
double | round (double x) |
long int | roundtol (double x) |
double | trunc (double x) |
Variables | |
const unsigned long int | signMask = 0x80000000ul |
const double | twoTo52 = 4503599627370496.0 |
const double | doubleToLong = 4503603922337792.0 |
const DblInHex | Huge = {{ 0x7FF00000, 0x00000000 }} |
const DblInHex | TOWARDZERO = {{ 0x00000000, 0x00000001 }} |
|
|
Definition at line 54 of file rndint.c. Referenced by rinttol(), and roundtol(). |
|
Definition at line 176 of file rndint.c. References copysign(), fabs(), and twoTo52. Here is the call graph for this function: |
|
Definition at line 210 of file rndint.c. References DblInHex::dbl, doubleToLong, SET_INVALID, signMask, twoTo52, and DblInHex::words. |
|
Definition at line 301 of file rndint.c. References DblInHex::dbl, signMask, twoTo52, and DblInHex::words. |
|
Definition at line 397 of file rndint.c. References DblInHex::dbl, doubleToLong, SET_INVALID, signMask, and DblInHex::words. |
|
Definition at line 497 of file rndint.c. References DblInHex::dbl, signMask, twoTo52, and DblInHex::words. |
|
Definition at line 72 of file rndint.c. Referenced by rinttol(), and roundtol(). |
|
|
Definition at line 70 of file rndint.c. Referenced by rinttol(), round(), roundtol(), and trunc(). |
|
|
Definition at line 71 of file rndint.c. Referenced by nearbyint(), rinttol(), round(), and trunc(). |