This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
Re: pow10
- To: roland@frob.com
- Subject: Re: pow10
- From: Geoffrey KEATING <geoffk@discus.anu.edu.au>
- Date: Mon, 25 May 1998 20:46:00 +1000 (EST)
- CC: libc-hacker@gnu.org
- References: <199805242343.TAA02900@baalperazim.frob.com>
> 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>
- Follow-Ups:
- Re: pow10
- From: Ulrich Drepper <drepper@cygnus.com>
- Re: pow10
- From: Roland McGrath <roland@frob.com>
- References:
- pow10
- From: Roland McGrath <roland@frob.com>
- pow10
- From: Roland McGrath <roland@frob.com>