FP optional?
polluks opened this issue · 4 comments
polluks commented
So far argparse always requires floating point support because of strtof().
What about some kind of optional implementation?
cofyc commented
use compiler macro to make it optional?
polluks commented
Yeah, so I get a non-FP version on request.
cofyc commented
Out of curiosity, in which environment there is no FP support?
polluks commented
There is FP support but there's some overhead...
http://aminet.net/package/dev/c/argparse
You see the difference
-rwx------ 1 nobody nogroup 25952 Feb 26 01:26 test_argparse
-rwx------ 1 nobody nogroup 15260 Feb 26 01:24 test_argparse_nofp