]>
Commit | Line | Data |
---|---|---|
2aa62f2b | 1 | /** @file\r |
2 | Wrapper for strtold so that it just calls strtod(). This is because the IPF implementation doesn't have\r | |
3 | long double. (actually MS VC++ makes long double a distinct type that is identical to double.) VC++\r | |
4 | also doesn't support the {strong, weak}_alias feature so we actually have to have an object.\r | |
5 | \r | |
6 | **/\r | |
7 | #include <LibConfig.h>\r | |
8 | #include <sys/EfiCdefs.h>\r | |
9 | \r | |
10 | #include "namespace.h"\r | |
11 | #include "../gdtoaimp.h"\r | |
12 | #include "../gdtoa.h"\r | |
13 | \r | |
14 | long double\r | |
15 | strtold(const char * __restrict nptr, char ** __restrict endptr)\r | |
16 | {\r | |
17 | return (long double)strtod( nptr, endptr);\r | |
18 | }\r |