fork download
  1. #include <stdio.h>
  2. #include <math.h>
  3.  
  4. int main()
  5. {
  6. double SysClk = 480 * pow(10, 6);
  7. double Increment = 21;
  8. double Addend = pow(2, 63) / (SysClk * Increment);
  9. printf("0x%X", (unsigned int)Addend);
  10.  
  11. return 0;
  12. }
Success #stdin #stdout 0.01s 5308KB
stdin
45
stdout
0x368A0D6B