Guest User

Untitled

a guest
Jul 15th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. for b in range(4):
  2. for c in range(4):
  3. print myfunc(b/0x100000000, c*8)
  4.  
  5. unsigned int b,c;
  6. for(b=0;b<4;b++)
  7. for(c=0;c<4; c++)
  8. printf("%Ln", b/0x100000000);
  9. printf("%Ln" , myfunc(b/0x100000000, c*8));
  10.  
  11. unsigned int b;
  12. b = 1;
  13. printf("%L", b/0x100000000L);
  14.  
  15. unsigned int b,c;
  16. for(b=0;b<4;b++)
  17. {
  18. for(c=0;c<4; c++)
  19. {
  20. printf("%Ln", b/0x100000000);
  21. printf("%Ln" , myfunc(b/0x100000000, c*8));
  22. }
  23. }
  24.  
  25. unsigned int b,c;
  26. const unsigned long d = 0x100000000L; /* 33 bits may be too big for int */
  27.  
  28. for(b=0;b<4;b++) {
  29. for(c=0;c<4; c++) { /* use braces and indent consistently */
  30. printf("%udn", b/d); /* "ud" to print Unsigned int in Decimal */
  31. printf("%ldn", myfunc(b/d, c*8)); /* "l" is another modifier for "d" */
  32. }
  33. }
Add Comment
Please, Sign In to add comment