zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <p.stephenson@samsung.com>
To: Zsh hackers list <zsh-workers@zsh.org>
Subject: Re: [PATCH] zsh/mathfunc: Add log2()
Date: Mon, 13 Aug 2018 09:39:43 +0100	[thread overview]
Message-ID: <20180813083945eucas1p177bd760f1d4412b044aa45b86bdb734d~KZOtnXxAu2270422704eucas1p18@eucas1p1.samsung.com> (raw)
In-Reply-To: <647A3A10-A3AA-4E02-98AC-38385B34D35A@dana.is>

On Sun, 12 Aug 2018 03:20:37 -0500
dana <dana@dana.is> wrote:
> Someone on IRC today was absolutely incensed that zsh/mathfunc
> doesn't provide a log2(). I assume that's just because it's trivial
> to do it in 'user land'. But it's also trivial to do it here, so....

Hmmm... I wonder what sort of real world uses require a floating point
log 2 as a fundamental part.  But it's uncontroversial with the
fallback implementation you added, so thanks.  I've committed it.

pws


      reply	other threads:[~2018-08-13  8:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20180812082115epcas4p17b38f56487b9d30c9fcd9b450938cbf1@epcas4p1.samsung.com>
2018-08-12  8:20 ` dana
2018-08-13  8:39   ` Peter Stephenson [this message]

Reply instructions:

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

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

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='20180813083945eucas1p177bd760f1d4412b044aa45b86bdb734d~KZOtnXxAu2270422704eucas1p18@eucas1p1.samsung.com' \
    --to=p.stephenson@samsung.com \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).