# | Line 33 | Line 33 | char *argv[]; | |
---|---|---|
33 | for (i = 1; i < argc; i++) | |
34 | printf("%.9g\n", eval(argv[i])); | |
35 | ||
36 | + | if (errno != EDOM && errno != ERANGE) |
37 | + | errno = 0; |
38 | + | |
39 | quit(errno ? 2 : 0); | |
40 | return (errno ? 2 : 0); /* pro forma return */ | |
41 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |