Because Real would also support decimal floating-point types.
It sounds like you want <F: Real & BinaryFloatingPoint>
for your constraint. Longer-term, floating-point literals are due for a reworking that would resolve this problem.
Because Real would also support decimal floating-point types.
It sounds like you want <F: Real & BinaryFloatingPoint>
for your constraint. Longer-term, floating-point literals are due for a reworking that would resolve this problem.