Make linear_equations_4 take decimals

Fixes #79037.

Auditors: eater