This set of three packages: AppPkg, StdLib, StdLibPrivateInternalFiles; contains the implementation of libraries based upon non-UEFI standards such as ISO/IEC-9899, the library portion of the C Language Standard, POSIX, etc. AppPkg contains applications that make use of the standard libraries defined in the StdLib Package. StdLib contains header (include) files and the implementations of the standard libraries. StdLibPrivateInternalFiles contains files for the exclusive use of the library implementations in StdLib. These files should never be directly referenced from applications or other code. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11600 6f19259b-4bc3-4df7-8a09-765794883524
19 lines
597 B
C
19 lines
597 B
C
/** @file
|
|
Wrapper for strtold so that it just calls strtod(). This is because the IPF implementation doesn't have
|
|
long double. (actually MS VC++ makes long double a distinct type that is identical to double.) VC++
|
|
also doesn't support the {strong, weak}_alias feature so we actually have to have an object.
|
|
|
|
**/
|
|
#include <LibConfig.h>
|
|
#include <sys/EfiCdefs.h>
|
|
|
|
#include "namespace.h"
|
|
#include "../gdtoaimp.h"
|
|
#include "../gdtoa.h"
|
|
|
|
long double
|
|
strtold(const char * __restrict nptr, char ** __restrict endptr)
|
|
{
|
|
return (long double)strtod( nptr, endptr);
|
|
}
|