Express proportion to a square or square root (#336)