123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- #include <bits/floatn.h>
- #if __HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32
- # define strtof32 __hide_strtof32
- # define wcstof32 __hide_wcstof32
- #endif
- #define FLOAT float
- #define FLT FLT
- #ifdef USE_WIDE_CHAR
- #define STRTOF wcstof
- #define STRTOF_L __wcstof_l
- #else
- # define STRTOF strtof
- # define STRTOF_L __strtof_l
- #endif
- #include "strtod.c"
- #if __HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32
- # undef strtof32
- # undef wcstof32
- # ifdef USE_WIDE_CHAR
- weak_alias (wcstof, wcstof32)
- # else
- weak_alias (strtof, strtof32)
- # endif
- #endif
|