Ah, this needs to say `T<:FloatingPoint` due to issue #6383.