fork download
  1. #include <stdio.h>
  2. #include <stdint.h>
  3.  
  4. int main(void) {
  5. printf("%d\n", (int32_t)(12312311L * 1231231211L));
  6. printf("%llu\n", (uint64_t)12312311L * 1231231211L);
  7. printf("%.32f\n", 12312311. * 1231231211.);
  8. printf("%.8f\n", 15159301582738621.);
  9. return 0;
  10. }
  11.  
Success #stdin #stdout 0s 2052KB
stdin
Standard input is empty
stdout
-236858179
15159301582738621
15159301582738620.00000000000000000000000000000000
15159301582738620.00000000