procps/include
Craig Small 32e1b2e297 A locale-independent strtod
There is a need in some utilities to have a way of accepting both
types of decimal points "." and ",". The only way seems to be to
rebuild strtod().

This new function will accept "123.456" and "123,456" as 123.456
and considers them the same number. It means we lose thousands
separator, but this is rarely used.

test scripts are added to check the function returns the proper
values. There was simpler predecessor that got stuck on negative
0 or -0.123 which these tests flushed out.

References:
2016-03-03 21:24:08 +11:00
..
c.h Also emulate error_at_line if not present 2014-08-28 13:54:24 +02:00
fileutils.h lib: add fileutils file with stream error checking facility 2012-03-23 15:57:41 +01:00
Makefile.am build-sys: fix the fatal 'make dist' error for nsutils 2013-09-12 06:52:42 +10:00
nls.h miscellaneous: clean up trailing whitespace throughout 2013-03-14 12:36:47 +01:00
nsutils.h pgrep: introduce support for namespaces 2013-04-16 15:05:31 -04:00
rpmatch.h build-sys: uClibc does not have rpmatch() 2012-04-18 10:03:55 +02:00
strutils.h A locale-independent strtod 2016-03-03 21:24:08 +11:00
xalloc.h miscellaneous: clean up trailing whitespace throughout 2013-03-14 12:36:47 +01:00