x The converted value. 0 Indicates an underflow or the conversion could not be performed. The function sets errno to ERANGE or EINVAL, respectively. HUGE_VAL Overflow occurred; errno is set to ERANGE.