ReactOS
0.4.16-dev-746-g329a414
frexp.c
Go to the documentation of this file.
1
#include <math.h>
2
#include <stdlib.h>
3
#include <
internal/ieee.h
>
4
5
/*
6
* @implemented
7
*/
8
double
9
frexp
(
double
__x,
int
*exptr)
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
}
27
28
29
NULL
#define NULL
Definition:
types.h:112
frexp
double frexp(double __x, int *exptr)
Definition:
frexp.c:9
x
GLint GLint GLint GLint GLint x
Definition:
gl.h:1548
ieee.h
double_s
Definition:
ieee.h:10
sdk
lib
crt
math
frexp.c
Generated on Thu Feb 13 2025 06:13:57 for ReactOS by
1.9.6