Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [PATCH] zsh/mathfunc: Add log2()



On Sun, 12 Aug 2018 03:20:37 -0500
dana <dana@xxxxxxx> 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



Messages sorted by: Reverse Date, Date, Thread, Author