1 #include <stdlib.h>
2 
3 long double string_to_ld(const char *nptr, char **endptr)
4 {
5 	return strtold(nptr, endptr);
6 }
7