Advertisement
Guest User

Untitled

a guest
Feb 17th, 2019
248
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.31 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdint.h>
  3. int main(void)
  4. {
  5.     size_t mask = (SIZE_MAX/2)+1;
  6.     printf("mask is %lf\n",mask);
  7.     double mantissia=42;
  8.     printf("%zu is the llu of 42.\n",mantissia);
  9.     size_t mant=4631107791820423168;
  10.     printf("%mant is %zu.\n",mant);
  11.     size_t c=mant^mask;
  12.     printf("%lf\n",c);
  13.  
  14.     return 0;
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement