tv/fltcalc: Create fp_values with long double info and convert later.
fc_val_from_ieee754 simply does not work correctly for denormalized input values if the desired result is smaller than a long double. However, converting to an fp_value using the mantissa/characteristic information of a long double and later using fc_cast to convert to the desired target format works.
Please register or sign in to comment