jdk/src/share/native/java/lang/fdlibm/include/fdlibm.h
author alanb
Thu, 07 Oct 2010 14:36:17 +0100
changeset 6850 56966b0a6a0d
parent 5506 202f599c92aa
child 7668 d4a77089c587
permissions -rw-r--r--
6989466: Miscellaneous compiler warnings in java/lang, java/util, java/io, sun/misc native code Reviewed-by: andrew, mchung, ohair
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
90ce3da70b43 Initial load
duke
parents:
diff changeset
     2
/*
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 4286
diff changeset
     3
 * Copyright (c) 1998, 2002, Oracle and/or its affiliates. All rights reserved.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     4
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     5
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
 * This code is free software; you can redistribute it and/or modify it
90ce3da70b43 Initial load
duke
parents:
diff changeset
     7
 * under the terms of the GNU General Public License version 2 only, as
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 4286
diff changeset
     8
 * published by the Free Software Foundation.  Oracle designates this
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     9
 * particular file as subject to the "Classpath" exception as provided
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 4286
diff changeset
    10
 * by Oracle in the LICENSE file that accompanied this code.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    12
 * This code is distributed in the hope that it will be useful, but WITHOUT
90ce3da70b43 Initial load
duke
parents:
diff changeset
    13
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
 * version 2 for more details (a copy is included in the LICENSE file that
90ce3da70b43 Initial load
duke
parents:
diff changeset
    16
 * accompanied this code).
90ce3da70b43 Initial load
duke
parents:
diff changeset
    17
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    18
 * You should have received a copy of the GNU General Public License version
90ce3da70b43 Initial load
duke
parents:
diff changeset
    19
 * 2 along with this work; if not, write to the Free Software Foundation,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    20
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    21
 *
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 4286
diff changeset
    22
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 4286
diff changeset
    23
 * or visit www.oracle.com if you need additional information or have any
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 4286
diff changeset
    24
 * questions.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    25
 */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    26
90ce3da70b43 Initial load
duke
parents:
diff changeset
    27
#include "jfdlibm.h"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    28
90ce3da70b43 Initial load
duke
parents:
diff changeset
    29
#ifdef __NEWVALID       /* special setup for Sun test regime */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    30
#if defined(i386) || defined(i486) || \
90ce3da70b43 Initial load
duke
parents:
diff changeset
    31
        defined(intel) || defined(x86) || \
4286
ac64f44f4d19 6903453: Zero build on ARM and IA-64
gbenson
parents: 2
diff changeset
    32
        defined(i86pc) || defined(_M_IA64) || defined(ia64)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    33
#define _LITTLE_ENDIAN
90ce3da70b43 Initial load
duke
parents:
diff changeset
    34
#endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
    35
#endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
    36
90ce3da70b43 Initial load
duke
parents:
diff changeset
    37
#ifdef _LITTLE_ENDIAN
90ce3da70b43 Initial load
duke
parents:
diff changeset
    38
#define __HI(x) *(1+(int*)&x)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    39
#define __LO(x) *(int*)&x
90ce3da70b43 Initial load
duke
parents:
diff changeset
    40
#define __HIp(x) *(1+(int*)x)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    41
#define __LOp(x) *(int*)x
90ce3da70b43 Initial load
duke
parents:
diff changeset
    42
#else
90ce3da70b43 Initial load
duke
parents:
diff changeset
    43
#define __HI(x) *(int*)&x
90ce3da70b43 Initial load
duke
parents:
diff changeset
    44
#define __LO(x) *(1+(int*)&x)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    45
#define __HIp(x) *(int*)x
90ce3da70b43 Initial load
duke
parents:
diff changeset
    46
#define __LOp(x) *(1+(int*)x)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    47
#endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
    48
6850
56966b0a6a0d 6989466: Miscellaneous compiler warnings in java/lang, java/util, java/io, sun/misc native code
alanb
parents: 5506
diff changeset
    49
#ifndef __P
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    50
#ifdef __STDC__
90ce3da70b43 Initial load
duke
parents:
diff changeset
    51
#define __P(p)  p
90ce3da70b43 Initial load
duke
parents:
diff changeset
    52
#else
90ce3da70b43 Initial load
duke
parents:
diff changeset
    53
#define __P(p)  ()
90ce3da70b43 Initial load
duke
parents:
diff changeset
    54
#endif
6850
56966b0a6a0d 6989466: Miscellaneous compiler warnings in java/lang, java/util, java/io, sun/misc native code
alanb
parents: 5506
diff changeset
    55
#endif
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    56
90ce3da70b43 Initial load
duke
parents:
diff changeset
    57
/*
90ce3da70b43 Initial load
duke
parents:
diff changeset
    58
 * ANSI/POSIX
90ce3da70b43 Initial load
duke
parents:
diff changeset
    59
 */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    60
90ce3da70b43 Initial load
duke
parents:
diff changeset
    61
extern int signgam;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    62
90ce3da70b43 Initial load
duke
parents:
diff changeset
    63
#define MAXFLOAT        ((float)3.40282346638528860e+38)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    64
90ce3da70b43 Initial load
duke
parents:
diff changeset
    65
enum fdversion {fdlibm_ieee = -1, fdlibm_svid, fdlibm_xopen, fdlibm_posix};
90ce3da70b43 Initial load
duke
parents:
diff changeset
    66
90ce3da70b43 Initial load
duke
parents:
diff changeset
    67
#define _LIB_VERSION_TYPE enum fdversion
90ce3da70b43 Initial load
duke
parents:
diff changeset
    68
#define _LIB_VERSION _fdlib_version
90ce3da70b43 Initial load
duke
parents:
diff changeset
    69
90ce3da70b43 Initial load
duke
parents:
diff changeset
    70
/* if global variable _LIB_VERSION is not desirable, one may
90ce3da70b43 Initial load
duke
parents:
diff changeset
    71
 * change the following to be a constant by:
90ce3da70b43 Initial load
duke
parents:
diff changeset
    72
 *      #define _LIB_VERSION_TYPE const enum version
90ce3da70b43 Initial load
duke
parents:
diff changeset
    73
 * In that case, after one initializes the value _LIB_VERSION (see
90ce3da70b43 Initial load
duke
parents:
diff changeset
    74
 * s_lib_version.c) during compile time, it cannot be modified
90ce3da70b43 Initial load
duke
parents:
diff changeset
    75
 * in the middle of a program
90ce3da70b43 Initial load
duke
parents:
diff changeset
    76
 */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    77
extern  _LIB_VERSION_TYPE  _LIB_VERSION;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    78
90ce3da70b43 Initial load
duke
parents:
diff changeset
    79
#define _IEEE_  fdlibm_ieee
90ce3da70b43 Initial load
duke
parents:
diff changeset
    80
#define _SVID_  fdlibm_svid
90ce3da70b43 Initial load
duke
parents:
diff changeset
    81
#define _XOPEN_ fdlibm_xopen
90ce3da70b43 Initial load
duke
parents:
diff changeset
    82
#define _POSIX_ fdlibm_posix
90ce3da70b43 Initial load
duke
parents:
diff changeset
    83
90ce3da70b43 Initial load
duke
parents:
diff changeset
    84
struct exception {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    85
        int type;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    86
        char *name;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    87
        double arg1;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    88
        double arg2;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    89
        double retval;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    90
};
90ce3da70b43 Initial load
duke
parents:
diff changeset
    91
90ce3da70b43 Initial load
duke
parents:
diff changeset
    92
#define HUGE            MAXFLOAT
90ce3da70b43 Initial load
duke
parents:
diff changeset
    93
90ce3da70b43 Initial load
duke
parents:
diff changeset
    94
/*
90ce3da70b43 Initial load
duke
parents:
diff changeset
    95
 * set X_TLOSS = pi*2**52, which is possibly defined in <values.h>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    96
 * (one may replace the following line by "#include <values.h>")
90ce3da70b43 Initial load
duke
parents:
diff changeset
    97
 */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    98
90ce3da70b43 Initial load
duke
parents:
diff changeset
    99
#define X_TLOSS         1.41484755040568800000e+16
90ce3da70b43 Initial load
duke
parents:
diff changeset
   100
90ce3da70b43 Initial load
duke
parents:
diff changeset
   101
#define DOMAIN          1
90ce3da70b43 Initial load
duke
parents:
diff changeset
   102
#define SING            2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   103
#define OVERFLOW        3
90ce3da70b43 Initial load
duke
parents:
diff changeset
   104
#define UNDERFLOW       4
90ce3da70b43 Initial load
duke
parents:
diff changeset
   105
#define TLOSS           5
90ce3da70b43 Initial load
duke
parents:
diff changeset
   106
#define PLOSS           6
90ce3da70b43 Initial load
duke
parents:
diff changeset
   107
90ce3da70b43 Initial load
duke
parents:
diff changeset
   108
/*
90ce3da70b43 Initial load
duke
parents:
diff changeset
   109
 * ANSI/POSIX
90ce3da70b43 Initial load
duke
parents:
diff changeset
   110
 */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   111
extern double acos __P((double));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   112
extern double asin __P((double));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   113
extern double atan __P((double));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   114
extern double atan2 __P((double, double));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   115
extern double cos __P((double));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   116
extern double sin __P((double));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   117
extern double tan __P((double));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   118
90ce3da70b43 Initial load
duke
parents:
diff changeset
   119
extern double cosh __P((double));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   120
extern double sinh __P((double));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   121
extern double tanh __P((double));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   122
90ce3da70b43 Initial load
duke
parents:
diff changeset
   123
extern double exp __P((double));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   124
extern double frexp __P((double, int *));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   125
extern double ldexp __P((double, int));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   126
extern double log __P((double));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   127
extern double log10 __P((double));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   128
extern double modf __P((double, double *));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   129
90ce3da70b43 Initial load
duke
parents:
diff changeset
   130
extern double pow __P((double, double));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   131
extern double sqrt __P((double));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   132
90ce3da70b43 Initial load
duke
parents:
diff changeset
   133
extern double ceil __P((double));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   134
extern double fabs __P((double));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   135
extern double floor __P((double));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   136
extern double fmod __P((double, double));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   137
90ce3da70b43 Initial load
duke
parents:
diff changeset
   138
extern double erf __P((double));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   139
extern double erfc __P((double));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   140
extern double gamma __P((double));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   141
extern double hypot __P((double, double));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   142
extern int isnan __P((double));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   143
extern int finite __P((double));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   144
extern double j0 __P((double));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   145
extern double j1 __P((double));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   146
extern double jn __P((int, double));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   147
extern double lgamma __P((double));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   148
extern double y0 __P((double));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   149
extern double y1 __P((double));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   150
extern double yn __P((int, double));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   151
90ce3da70b43 Initial load
duke
parents:
diff changeset
   152
extern double acosh __P((double));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   153
extern double asinh __P((double));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   154
extern double atanh __P((double));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   155
extern double cbrt __P((double));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   156
extern double logb __P((double));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   157
extern double nextafter __P((double, double));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   158
extern double remainder __P((double, double));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   159
#ifdef _SCALB_INT
90ce3da70b43 Initial load
duke
parents:
diff changeset
   160
extern double scalb __P((double, int));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   161
#else
90ce3da70b43 Initial load
duke
parents:
diff changeset
   162
extern double scalb __P((double, double));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   163
#endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
   164
90ce3da70b43 Initial load
duke
parents:
diff changeset
   165
extern int matherr __P((struct exception *));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   166
90ce3da70b43 Initial load
duke
parents:
diff changeset
   167
/*
90ce3da70b43 Initial load
duke
parents:
diff changeset
   168
 * IEEE Test Vector
90ce3da70b43 Initial load
duke
parents:
diff changeset
   169
 */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   170
extern double significand __P((double));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   171
90ce3da70b43 Initial load
duke
parents:
diff changeset
   172
/*
90ce3da70b43 Initial load
duke
parents:
diff changeset
   173
 * Functions callable from C, intended to support IEEE arithmetic.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   174
 */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   175
extern double copysign __P((double, double));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   176
extern int ilogb __P((double));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   177
extern double rint __P((double));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   178
extern double scalbn __P((double, int));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   179
90ce3da70b43 Initial load
duke
parents:
diff changeset
   180
/*
90ce3da70b43 Initial load
duke
parents:
diff changeset
   181
 * BSD math library entry points
90ce3da70b43 Initial load
duke
parents:
diff changeset
   182
 */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   183
extern double expm1 __P((double));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   184
extern double log1p __P((double));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   185
90ce3da70b43 Initial load
duke
parents:
diff changeset
   186
/*
90ce3da70b43 Initial load
duke
parents:
diff changeset
   187
 * Reentrant version of gamma & lgamma; passes signgam back by reference
90ce3da70b43 Initial load
duke
parents:
diff changeset
   188
 * as the second argument; user must allocate space for signgam.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   189
 */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   190
#ifdef _REENTRANT
90ce3da70b43 Initial load
duke
parents:
diff changeset
   191
extern double gamma_r __P((double, int *));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   192
extern double lgamma_r __P((double, int *));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   193
#endif  /* _REENTRANT */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   194
90ce3da70b43 Initial load
duke
parents:
diff changeset
   195
/* ieee style elementary functions */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   196
extern double __ieee754_sqrt __P((double));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   197
extern double __ieee754_acos __P((double));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   198
extern double __ieee754_acosh __P((double));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   199
extern double __ieee754_log __P((double));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   200
extern double __ieee754_atanh __P((double));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   201
extern double __ieee754_asin __P((double));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   202
extern double __ieee754_atan2 __P((double,double));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   203
extern double __ieee754_exp __P((double));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   204
extern double __ieee754_cosh __P((double));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   205
extern double __ieee754_fmod __P((double,double));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   206
extern double __ieee754_pow __P((double,double));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   207
extern double __ieee754_lgamma_r __P((double,int *));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   208
extern double __ieee754_gamma_r __P((double,int *));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   209
extern double __ieee754_lgamma __P((double));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   210
extern double __ieee754_gamma __P((double));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   211
extern double __ieee754_log10 __P((double));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   212
extern double __ieee754_sinh __P((double));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   213
extern double __ieee754_hypot __P((double,double));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   214
extern double __ieee754_j0 __P((double));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   215
extern double __ieee754_j1 __P((double));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   216
extern double __ieee754_y0 __P((double));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   217
extern double __ieee754_y1 __P((double));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   218
extern double __ieee754_jn __P((int,double));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   219
extern double __ieee754_yn __P((int,double));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   220
extern double __ieee754_remainder __P((double,double));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   221
extern int    __ieee754_rem_pio2 __P((double,double*));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   222
#ifdef _SCALB_INT
90ce3da70b43 Initial load
duke
parents:
diff changeset
   223
extern double __ieee754_scalb __P((double,int));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   224
#else
90ce3da70b43 Initial load
duke
parents:
diff changeset
   225
extern double __ieee754_scalb __P((double,double));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   226
#endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
   227
90ce3da70b43 Initial load
duke
parents:
diff changeset
   228
/* fdlibm kernel function */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   229
extern double __kernel_standard __P((double,double,int));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   230
extern double __kernel_sin __P((double,double,int));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   231
extern double __kernel_cos __P((double,double));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   232
extern double __kernel_tan __P((double,double,int));
90ce3da70b43 Initial load
duke
parents:
diff changeset
   233
extern int    __kernel_rem_pio2 __P((double*,double*,int,int,int,const int*));