Open
Description
The code produced by those functions is about 9k each (a bit less for the -m68881 version). All three are referenced eg. by the scanf family of functions. Together with some floating support functions from libgcc.a, that alone adds about 30k of code to executables.
I think the current implementation (in strtod.c) is almost identical to the original one from glibc. I also think that most of the code is produced by the inlined mpn_* functions from gmp. So the question is: can that be reimplemented without gmp? I never understood why we need functions that can work on arbitrary long doubles, when we only have to work with a max. of 3 different, known sizes.
Metadata
Metadata
Assignees
Labels
No labels