Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
aidenn0
on June 17, 2019
|
parent
|
context
|
favorite
| on:
GCC should warn about 2^16 and 2^32 and 2^64
Someone correct me if I'm wrong, but I believe double star as an infix operator would be interpreted as multiplication of a dereference:
X ** Y
would be parsed as
X * (*Y)
bodyfour
on June 17, 2019
|
next
[–]
...but it's unlikely to be accidentally used as an exponent, since you can't dereference a number.
jandrese
on June 17, 2019
|
prev
[–]
At least in that case the compiler should produce a warning about trying to deference the not-pointer.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: