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/strtold.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 stdlib/strtold.c (limited to 'stdlib/strtold.c') diff --git a/stdlib/strtold.c b/stdlib/strtold.c new file mode 100644 index 0000000..2595725 --- /dev/null +++ b/stdlib/strtold.c @@ -0,0 +1,12 @@ +/* The actual implementation for all floating point sizes is in strtod.c. + These macros tell it to produce the `long double' version, `strtold'. */ + +#define FLOAT long double +#define FLT LDBL +#define STRTOF __strtold +#define MPN2FLOAT __mpn_construct_long_double +#define FLOAT_HUGE_VAL HUGE_VALl + +#include "strtod.c" + +weak_alias (__strtold, strtold) -- cgit v1.1