aboutsummaryrefslogtreecommitdiff
path: root/src/lib9
diff options
context:
space:
mode:
authorwkj <devnull@localhost>2004-12-29 01:27:23 +0000
committerwkj <devnull@localhost>2004-12-29 01:27:23 +0000
commit4645c5d7d3529baccdc4b7ddd75cec1c30c53adf (patch)
tree2573c42eb10eb5b686583f0f018f04814e9f6331 /src/lib9
parent829e8223860ca6554c29749981dfa5c39f43ebfd (diff)
downloadplan9port-4645c5d7d3529baccdc4b7ddd75cec1c30c53adf.tar.gz
plan9port-4645c5d7d3529baccdc4b7ddd75cec1c30c53adf.tar.bz2
plan9port-4645c5d7d3529baccdc4b7ddd75cec1c30c53adf.zip
#define pow10 to _p9pow10 as a stop-gap.
Diffstat (limited to 'src/lib9')
-rw-r--r--src/lib9/fmt/fltfmt.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib9/fmt/fltfmt.c b/src/lib9/fmt/fltfmt.c
index 68145ee6..2604e4ff 100644
--- 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)
{