From 28f540f45bbacd939bfd07f213bcad2bf730b1bf Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sat, 18 Feb 1995 01:27:10 +0000 Subject: initial import --- stdlib/strtof.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 stdlib/strtof.c (limited to 'stdlib/strtof.c') diff --git a/stdlib/strtof.c b/stdlib/strtof.c new file mode 100644 index 0000000..bf1349b --- /dev/null +++ b/stdlib/strtof.c @@ -0,0 +1,12 @@ +/* The actual implementation for all floating point sizes is in strtod.c. + These macros tell it to produce the `float' version, `strtof'. */ + +#define FLOAT float +#define FLT FLT +#define STRTOF __strtof +#define MPN2FLOAT __mpn_construct_float +#define FLOAT_HUGE_VAL HUGE_VALf + +#include "strtod.c" + +weak_alias (__strtof, strtof) -- cgit v1.1