fork download
  1. #include <stdio.h>
  2. #include <float.h>
  3. #include <errno.h>
  4.  
  5. int main ( void )
  6. {
  7. double a = DBL_MAX, b = a + 1;
  8. printf ( "%g %g %d %d\n", a, b, a == b, errno );
  9. return 0;
  10. }
Success #stdin #stdout 0.02s 1676KB
stdin
Standard input is empty
stdout
1.79769e+308 1.79769e+308 1 0