Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <float.h>
- #include <stdint.h>
- int main(void)
- {
- for (uint32_t val = 0; val < UINT32_MAX; val++)
- printf("%d -> %f\n", val, *((float*)&val));
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement