In this case you could write it as T(significand) * exp2(T(exponent)), using an Int128 significand, at the cost of an exp2 call.
3 Likes
In this case you could write it as T(significand) * exp2(T(exponent)), using an Int128 significand, at the cost of an exp2 call.