Previously various operations on complex numbers (e.g. sqrt) would give incorrect results. TODO Fixes #20425.