plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit 4645c5d7d3529baccdc4b7ddd75cec1c30c53adf
parent 829e8223860ca6554c29749981dfa5c39f43ebfd
Author: wkj <devnull@localhost>
Date:   Wed, 29 Dec 2004 01:27:23 +0000

#define pow10 to _p9pow10 as a stop-gap.

Diffstat:
Msrc/lib9/fmt/fltfmt.c | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/lib9/fmt/fltfmt.c b/src/lib9/fmt/fltfmt.c @@ -7,8 +7,8 @@ * or modification of this software and in all copies of the supporting * documentation for such software. * THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED - * WARRANTY. IN PARTICULAR, NEITHER THE AUTHORS NOR LUCENT TECHNOLOGIES MAKE ANY - * REPRESENTATION OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY + * WARRANTY. IN PARTICULAR, NEITHER THE AUTHORS NOR LUCENT TECHNOLOGIES MAKE + * ANY REPRESENTATION OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY * OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE. */ #include <stdio.h> @@ -55,6 +55,8 @@ static double pows10[] = 1e150, 1e151, 1e152, 1e153, 1e154, 1e155, 1e156, 1e157, 1e158, 1e159, }; +#define pow10(x) _p9pow10(x) + static double pow10(int n) {