ReactOS  0.4.14-dev-323-g6fe6a88
frexp.c File Reference
#include <math.h>
#include <stdlib.h>
#include <internal/ieee.h>
Include dependency graph for frexp.c:

Go to the source code of this file.

Functions

double frexp (double __x, int *exptr)
 

Function Documentation

◆ frexp()

double frexp ( double  __x,
int exptr 
)

Definition at line 9 of file frexp.c.

10 {
11  union
12  {
13  double* __x;
14  double_s* x;
15  } x;
16 
17  x.__x = &__x;
18 
19  if ( exptr != NULL )
20  *exptr = x.x->exponent - 0x3FE;
21 
22 
23  x.x->exponent = 0x3FE;
24 
25  return __x;
26 }
Definition: ieee.h:10
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
smooth NULL
Definition: ftsmooth.c:416