Commit 41c47f2c authored by Committed by Uwe Hermann
strutil: Fix sr_parse_rational for integral parts between -0 and -1
Values like '-0.1' would be parsed as being positive, as the integral type does not discern +0 and -0. Also allow values without leading integral value, to match behaviour of strtod/sr_atof.
Showing with 18 additions and 2 deletions