Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
310049a1
Commit
310049a1
authored
May 25, 2003
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clean up our static cbrt() implementation in float.c.
parent
8facf2df
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
17 deletions
+2
-17
src/backend/utils/adt/float.c
src/backend/utils/adt/float.c
+2
-17
No files found.
src/backend/utils/adt/float.c
View file @
310049a1
...
...
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/float.c,v 1.8
7 2003/05/09 21:19:49 tgl
Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/float.c,v 1.8
8 2003/05/25 05:30:57 momjian
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -70,24 +70,9 @@
#include "utils/builtins.h"
#if !(NeXT && NX_CURRENT_COMPILER_RELEASE > NX_COMPILER_RELEASE_3_2)
/* NS3.3 has conflicting declarations of these in <math.h> */
#ifndef atof
extern
double
atof
(
const
char
*
p
);
#endif
#ifndef HAVE_CBRT
#define cbrt my_cbrt
static
double
cbrt
(
double
x
);
#else
#if !defined(nextstep)
extern
double
cbrt
(
double
x
);
#endif
#endif
/* HAVE_CBRT */
#endif
/* NeXT check */
#ifndef M_PI
/* from my RH5.2 gcc math.h file - thomas 2000-04-03 */
...
...
@@ -1983,7 +1968,7 @@ float84ge(PG_FUNCTION_ARGS)
/* ========== PRIVATE ROUTINES ========== */
#ifndef HAVE_CBRT
/* I doubt this is still needed by any platform. 2003-05-25 */
static
double
cbrt
(
double
x
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment