Advertisement
Guest User

Untitled

a guest
Jun 23rd, 2017
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <float.h>
  3. #include <stdint.h>
  4.  
  5. int main(void)
  6. {
  7. for (uint32_t val = 0; val < UINT32_MAX; val++)
  8. printf("%d -> %f\n", val, *((float*)&val));
  9. return 0;
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement