pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Doc comments form <noreply@postgresql.org>
To: pgsql-docs@lists.postgresql.org
Cc: mdione@grulic.org.ar
Subject: Exponentiation example not clear
Date: Sun, 18 Jul 2021 14:45:45 +0000
Message-ID: <162661954599.693.13700316547731859171@wrigleys.postgresql.org> (raw)

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 could probably add 

2 ^ (3 ^ 3) → 134217728 # 2 ^27


view thread (2+ messages)  latest in thread

Message-ID: <162661954599.693.13700316547731859171@wrigleys.postgresql.org>
Permalink:  ../162661954599.693.13700316547731859171@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/162661954599.693.13700316547731859171@wrigleys.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: noreply@postgresql.org, pgsql-docs@lists.postgresql.org, mdione@grulic.org.ar
  Subject: Re: Exponentiation example not clear
  In-Reply-To: <162661954599.693.13700316547731859171@wrigleys.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox