mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 19:00:07 +00:00
b3fe135050
* sysdeps/ieee754/ldbl2mpn.c (__mpn_extract_long_double): Handle 80-bit denormalized numbers correct. * stdlib/strtod.c,stdlib/strtof.c,stdlib/strtold.c: [IMPLICIT_ONE,*_MAX_10_EXP_LOG]: not needed anymore. * stdlib/strtod.c (RETURN): parenthesis around return value. (round_and_return): correct handling of denormalized numbers. (__strtod_internal): don't check for grouping when not requested while returning 0.0. * stdio/fpioconst.[ch]: [LDBL_MAX_10_EXP_LOG]: don't use it. LAST_POW10 defines the maximal available exponent. * stdlib/{atof,atoi,atol}.c: use __strtoX_internal.
11 lines
300 B
C
11 lines
300 B
C
/* 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"
|