Does anyone know if there is a custom math class out there that will output extended decimal values as aasci strings of digits?

For example, sqrtf(2.0) and sqrtl(2.0) both return 1.4142135623730951 but the Windows Calculator displays 1.4142135623730950488016887242097.