October 07, 2005 Two internal errors with the % operator and ireals (DMD 0.135 win32) | ||||
---|---|---|---|---|
| ||||
Both are one or two-liners, and are clearly related. Case (1) --------- real a = 6.1i % 3i; --------- Assertion failure: '0' on line 345 in file 'constfold.c' Case (2) --------- real b = 7.2; real c = b % 3i; --------- Internal error: ..\ztc\cg87.c 1246 |
October 07, 2005 Re: Two internal errors with the % operator and ireals (DMD 0.135 win32) | ||||
---|---|---|---|---|
| ||||
Posted in reply to Don Clugston | Don Clugston wrote:
> Both are one or two-liners, and are clearly related.
>
> Case (1)
> ---------
> real a = 6.1i % 3i;
> ---------
> Assertion failure: '0' on line 345 in file 'constfold.c'
>
> Case (2)
> ---------
> real b = 7.2;
> real c = b % 3i;
> ---------
> Internal error: ..\ztc\cg87.c 1246
Another one:
---------
creal d = 1;
d %= 2i;
---------
Internal error: ..\ztc\cg87.c 2099
|
Copyright © 1999-2021 by the D Language Foundation