atof.c 139 B

123456789
  1. #include <stdlib.h>
  2. #include <stdio.h>
  3. #include "test_helpers.h"
  4. int main(void) {
  5. double d = atof("-3.14");
  6. printf("%f\n", d);
  7. }