|
8 | 8 | * |
9 | 9 | * |
10 | 10 | * IDENTIFICATION |
11 | | - * $Header: /cvsroot/pgsql/src/backend/utils/adt/float.c,v 1.87 2003/05/09 21:19:49 tgl Exp $ |
| 11 | + * $Header: /cvsroot/pgsql/src/backend/utils/adt/float.c,v 1.88 2003/05/25 05:30:57 momjian Exp $ |
12 | 12 | * |
13 | 13 | *------------------------------------------------------------------------- |
14 | 14 | */ |
|
70 | 70 | #include"utils/builtins.h" |
71 | 71 |
|
72 | 72 |
|
73 | | -#if !(NeXT&&NX_CURRENT_COMPILER_RELEASE>NX_COMPILER_RELEASE_3_2) |
74 | | -/* NS3.3 has conflicting declarations of these in <math.h> */ |
75 | | - |
76 | | -#ifndefatof |
77 | | -externdoubleatof(constchar*p); |
78 | | -#endif |
79 | | - |
80 | 73 | #ifndefHAVE_CBRT |
81 | | -#definecbrt my_cbrt |
82 | 74 | staticdoublecbrt(doublex); |
83 | | - |
84 | | -#else |
85 | | -#if !defined(nextstep) |
86 | | -externdoublecbrt(doublex); |
87 | | -#endif |
88 | 75 | #endif/* HAVE_CBRT */ |
89 | | -#endif/* NeXT check */ |
90 | | - |
91 | 76 |
|
92 | 77 | #ifndefM_PI |
93 | 78 | /* from my RH5.2 gcc math.h file - thomas 2000-04-03 */ |
@@ -1983,7 +1968,7 @@ float84ge(PG_FUNCTION_ARGS) |
1983 | 1968 | /* ========== PRIVATE ROUTINES ========== */ |
1984 | 1969 |
|
1985 | 1970 | #ifndefHAVE_CBRT |
1986 | | - |
| 1971 | +/* I doubt this is still needed by any platform. 2003-05-25 */ |
1987 | 1972 | staticdouble |
1988 | 1973 | cbrt(doublex) |
1989 | 1974 | { |
|