This fixes a problem that math.sqrt(-1) doesn't raise math.error.
Attach a file by drag & drop or click to upload