A cast of a bitwise expression loses its parentheses #62
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
(cast (c-bit-or xn 1) float)emits(float)xn | 1, which C reads as((float)xn) | 1: a compile error here, but with an integer targettype it would silently cast only
xn. Arithmetic operands areparenthesized; bitwise ones aren't. With the two entries below, that
makes three places where operator precedence leaks into the output.
In this project they have cost more time than every other entry put
together, mostly through
(if ...)in arithmetic, which keeps comingback because it reads so naturally.
Found with sexc
dfafe8bwhile building vs-map-viewer (from itsSex-field-notes.org).Fixed by
8bc27cb.