- Fixed integer overflow when computing squareWavePosition in the multiplication.