-
Mark Olesen authored
- require a digit somewhere. This traps '.' or '.+E' type of sequences instead of returning them as 0 - avoid buffer overruns on really long sequences - should we be considering strtod() as an alternative to atof() and checking the errno? The same might be true for using strtoul() or strtol() instead of atol()
Mark Olesen authored- require a digit somewhere. This traps '.' or '.+E' type of sequences instead of returning them as 0 - avoid buffer overruns on really long sequences - should we be considering strtod() as an alternative to atof() and checking the errno? The same might be true for using strtoul() or strtol() instead of atol()
Loading