This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: pow10


> Date: Sun, 24 May 1998 19:43:16 -0400
> From: Roland McGrath <roland@frob.com>

> I came across a program today wants to use a function `double pow10(double)'.
> Our libm doesn't have one.
> 
> Should we add one?  I don't know what the deep FP issues might be, but I'm
> assuming we can just do `double pow10(double x) { return pow(10.0, x); }'.

Well, that would do to start.

But shouldn't it be called 'exp10'?  We already have exp, exp2, log,
log2, log10, and I was wondering why there was no 'exp10' for
completeness.

-- 
Geoff Keating <Geoff.Keating@anu.edu.au>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]