Numworks Epsilon  1.4.1
Graphing Calculator Operating System
ieee754.c
Go to the documentation of this file.
1 #include <private/ieee754.h>
3 
5  uint32_t * address = (uint32_t *)&x;
6  return fracF32UI( *address );
7 }
8 
9 uint8_t ieee754exp32(float x) {
10  uint32_t * address = (uint32_t *)&x;
11  return expF32UI( *address );
12 }
13 
15  uint64_t * address = (uint64_t *)&x;
16  return fracF64UI( *address );
17 }
18 
20  uint64_t * address = (uint64_t *)&x;
21  return expF64UI( *address );
22 }
uint32_t ieee754man32(float x)
Definition: ieee754.c:4
#define expF32UI(a)
Definition: internals.h:105
unsigned short uint16_t
Definition: stdint.h:5
unsigned char uint8_t
Definition: stdint.h:4
uint64_t ieee754man64(double x)
Definition: ieee754.c:14
uint8_t ieee754exp32(float x)
Definition: ieee754.c:9
unsigned int uint32_t
Definition: stdint.h:6
unsigned long long uint64_t
Definition: stdint.h:7
#define fracF64UI(a)
Definition: internals.h:127
#define expF64UI(a)
Definition: internals.h:126
uint16_t ieee754exp64(double x)
Definition: ieee754.c:19
#define fracF32UI(a)
Definition: internals.h:106