Re: Exponentiation example not clear

2021-07-21 Thread Tom Lane
PG Doc comments form writes: > Quoting the docs: > Exponentiation (unlike typical mathematical practice, multiple uses of ^ > will associate left to right) > 2 ^ 3 → 8 > 2 ^ 3 ^ 3 → 512 > You could probably add > 2 ^ (3 ^ 3) → 134217728 # 2 ^27 Seems reasonable, done at https://git.postgresq

Exponentiation example not clear

2021-07-19 Thread PG Doc comments form
The following documentation comment has been logged on the website: Page: https://www.postgresql.org/docs/13/functions-math.html Description: Quoting the docs: Exponentiation (unlike typical mathematical practice, multiple uses of ^ will associate left to right) 2 ^ 3 → 8 2 ^ 3 ^ 3 → 512 You co