From 463f1f5cdaecf229dcd1d3d16e969bf3a7aa9a73 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Tue, 1 Aug 2000 18:29:35 +0000 Subject: Convert all remaining float4 and float8 functions to new fmgr style. At this point I think it'd be possible to make float4 be pass-by-value without too much work --- and float8 too on machines where Datum is 8 bytes. Something to try when the mood strikes, anyway. --- src/backend/utils/adt/numutils.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/backend/utils/adt/numutils.c') diff --git a/src/backend/utils/adt/numutils.c b/src/backend/utils/adt/numutils.c index 3d4956afe2e..ea188e70f31 100644 --- a/src/backend/utils/adt/numutils.c +++ b/src/backend/utils/adt/numutils.c @@ -3,7 +3,7 @@ * numutils.c * utility functions for I/O of built-in numeric types. * - * integer: itoa, ltoa + * integer: pg_itoa, pg_ltoa * floating point: ftoa, atof1 * * Portions Copyright (c) 1996-2000, PostgreSQL, Inc @@ -11,7 +11,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/utils/adt/numutils.c,v 1.41 2000/07/12 22:59:09 petere Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/adt/numutils.c,v 1.42 2000/08/01 18:29:35 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -116,27 +116,27 @@ pg_atoi(char *s, int size, int c) } /* - * itoa - converts a short int to its string represention + * pg_itoa - converts a short int to its string represention * * Note: * previously based on ~ingres/source/gutil/atoi.c * now uses vendor's sprintf conversion */ void -itoa(int i, char *a) +pg_itoa(int16 i, char *a) { sprintf(a, "%hd", (short) i); } /* - * ltoa - converts a long int to its string represention + * pg_ltoa - converts a long int to its string represention * * Note: * previously based on ~ingres/source/gutil/atoi.c * now uses vendor's sprintf conversion */ void -ltoa(int32 l, char *a) +pg_ltoa(int32 l, char *a) { sprintf(a, "%d", l); } -- cgit v1.2.3