This can be enforced by pre-commit, but correct it separately to make it easier to review.
Requires addition of software implementation of sqrtf function.