Make rationalTo{Float,Double} inline in phase 0

This MR implements CLC proposal #356.

We hold off on inlining rationalToFloat and rationalToDouble until phase 0 to allow constant-folding rules to fire, as described in Note [realToFrac natural-to-float] in GHC.Internal.Float.
However, once we get to phase 0, we should inline them, e.g. to expose unboxing opportunities.

Merge request reports

Loading