libc/newlib/libc/stdlib/atoff.c

9 lines
99 B
C

#include <stdlib.h>
#include <_ansi.h>
float
atoff (const char *s)
{
return strtof (s, NULL);
}