]> git.proxmox.com Git - mirror_edk2.git/blob - StdLib/LibC/gdtoa/Ipf/strtold.c
QuarkPlatformPkg/Tpm12DeviceLibAtmelI2c: Fix SubmitCommand() out size
[mirror_edk2.git] / StdLib / LibC / gdtoa / Ipf / strtold.c
1 /** @file
2 Wrapper for strtold so that it just calls strtod(). This is because the IPF implementation doesn't have
3 long double. (actually MS VC++ makes long double a distinct type that is identical to double.) VC++
4 also doesn't support the {strong, weak}_alias feature so we actually have to have an object.
5
6 **/
7 #include <LibConfig.h>
8 #include <sys/EfiCdefs.h>
9
10 #include "namespace.h"
11 #include "../gdtoaimp.h"
12 #include "../gdtoa.h"
13
14 long double
15 strtold(const char * __restrict nptr, char ** __restrict endptr)
16 {
17 return (long double)strtod( nptr, endptr);
18 }