This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
Re: pow10
- To: Roland McGrath <roland@frob.com>
- Subject: Re: pow10
- From: Ulrich Drepper <drepper@cygnus.com>
- Date: 24 May 1998 17:36:12 -0700
- Cc: GNU libc hacker <libc-hacker@gnu.org>
- References: <199805242343.TAA02900@baalperazim.frob.com>
- Reply-To: drepper@cygnus.com (Ulrich Drepper)
Roland McGrath <roland@frob.com> writes:
> Should we add one?
We have log10, so this is no bad idea.
> 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, using pow to implement pow10 certainly isn't the final solution
since it is slower and more inprecise than necesary. But it could be
enough for now.
-- Uli
---------------. drepper at gnu.org ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com `------------------------
- References:
- pow10
- From: Roland McGrath <roland@frob.com>