On 14/04/16 06:35, Tino Calancha wrote:
Dear all, xstrtod always modifies *result; according with the doc. string it should modify *result only when the conversion has no errors.
Coincidentally I just wrote code that depends on that behavior, so that users could take the returned ±HUGE_VAL on ERANGE, with the positive/negative distinction being important. http://lists.gnu.org/archive/html/coreutils/2016-04/msg00057.html Tino are you writing code that depends on the non modification of RESULT? Perhaps we could just remove that comment since no code has depended on that for the last 20 years? cheers, Pádraig.