fork(1) download
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. #include <assert.h>
  4. int main(void) {
  5. double x = atof("3.14159265358979323846");
  6. double y = 3.14159265358979323846;
  7. assert(x == y);
  8. printf("%.30e == %.30e\n", x, y);
  9. return 0;
  10. }
  11.  
Success #stdin #stdout 0s 4176KB
stdin
Standard input is empty
stdout
3.141592653589793115997963468544e+00 == 3.141592653589793115997963468544e+00