Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| language:expressions [2026/09/13 12:52] – [Idiosyncrasies] rajit | language:expressions [2026/09/13 12:53] (current) – [Idiosyncrasies] rajit | ||
|---|---|---|---|
| Line 148: | Line 148: | ||
| This points out that the subtraction operation '' | This points out that the subtraction operation '' | ||
| + | |||
| + | Similarly, the following program: | ||
| + | <code act> | ||
| + | int< | ||
| + | int< | ||
| + | ... | ||
| + | chp { | ||
| + | ... | ||
| + | y := ~x; | ||
| + | ... | ||
| + | } | ||
| + | </ | ||
| + | will trigger the warning | ||
| + | < | ||
| + | WARNING: Complement operation needs bitwidth 8, but has bitwidth 4 | ||
| + | | ||
| + | </ | ||
| ==== Conversion from/to integer to/from pure structures ==== | ==== Conversion from/to integer to/from pure structures ==== | ||