fork download
  1. #include <stdio.h>
  2. #include <limits.h>
  3. #include <float.h>
  4. #include <math.h>
  5.  
  6. int main(void) {
  7. double d1 = 0x1.9fe2693112e14p+62;
  8. double d2 = 0x1.3c5a02407b71cp+62;
  9. double product = (double)(d1) * (double)(d2);
  10. printf("%d %a %La\n%a\n", FLT_EVAL_METHOD, DBL_MAX, LDBL_MAX, product);
  11. return 0;
  12. }
  13.  
Success #stdin #stdout 0s 2292KB
stdin
Standard input is empty
stdout
2 0x1.fffffffffffffp+1023 0xf.fffffffffffffffp+16380
0x1.00f6d98d0a43p+125