Fix reverse(r::FloatingPoint)

Related to #7420