Advertisement
Guest User

Untitled

a guest
Jun 28th, 2015
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. int main (int argc, char *argv[])
  5. {
  6. float i = 355.0f / 113.0f;
  7.  
  8. printf("%08X\n", i); // expected 40490FDC (IEEE-754 representation)
  9. // got 80000000
  10.  
  11. exit(EXIT_SUCCESS);
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement