[Haskell-cafe] Confused about logBase
steve at fenestra.com
Fri Aug 26 02:16:19 UTC 2016
On Thu, 25 Aug 2016 21:56:01 -0400, you wrote:
>Which is why CPUs have natural log as a built-in FP operation.
That's not quite true, as far as I know. The FPU log instructions (FYL2X
and FYL2XP1) use base 2, but the FPU also provides FLDLN2 and FLDLG2
constant-loading instructions to allow for easy conversion to natural
and base-10 logs, respectively.
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the Haskell-Cafe