/* * Same as doubletos(), but for long doubles (quad precision floating point). */ const char * longdoubletos(long double *ldp, int precision, char expchr) { static char buf[DECIMAL_STRING_LENGTH]; char digits[DECIMAL_STRING_LENGTH]; int decpt, sign; char *p; p = qeconvert(ldp, precision + 1, &decpt, &sign, digits); return (fptos(p, buf, sizeof (buf), decpt, sign, expchr)); }
inline char* _Stl_qecvtR(long double x, int n, int* pt, int* sign, char* buf) { return qeconvert(&x, n, pt, sign, buf); }