Commit 5ed4b72
committed
unit_evaluate[_dbl]: set the endptr unconditionally
Even if no number is parsed, set the endptr. This is consistent with
strtod (and family) behavior.1 parent 3c6e5d5 commit 5ed4b72
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
104 | 108 | | |
105 | 109 | | |
106 | 110 | | |
| |||
0 commit comments