0N/A/*
2362N/A * Copyright (c) 1998, 2003, Oracle and/or its affiliates. All rights reserved.
0N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
0N/A *
0N/A * This code is free software; you can redistribute it and/or modify it
0N/A * under the terms of the GNU General Public License version 2 only, as
2362N/A * published by the Free Software Foundation. Oracle designates this
0N/A * particular file as subject to the "Classpath" exception as provided
2362N/A * by Oracle in the LICENSE file that accompanied this code.
0N/A *
0N/A * This code is distributed in the hope that it will be useful, but WITHOUT
0N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
0N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
0N/A * version 2 for more details (a copy is included in the LICENSE file that
0N/A * accompanied this code).
0N/A *
0N/A * You should have received a copy of the GNU General Public License version
0N/A * 2 along with this work; if not, write to the Free Software Foundation,
0N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
0N/A *
2362N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
2362N/A * or visit www.oracle.com if you need additional information or have any
2362N/A * questions.
0N/A */
0N/A
0N/A#ifndef _JFDLIBM_H
0N/A#define _JFDLIBM_H
0N/A
0N/A#define _IEEE_LIBM
0N/A
0N/A/*
0N/A * In order to resolve the conflict between fdlibm and compilers
0N/A * (such as keywords and built-in functions), the following
0N/A * function names have to be re-mapped.
0N/A */
0N/A
0N/A#define huge HUGE_NUMBER
0N/A#define acos jacos
0N/A#define asin jasin
0N/A#define atan jatan
0N/A#define atan2 jatan2
0N/A#define cos jcos
0N/A#define exp jexp
0N/A#define log jlog
0N/A#define log10 jlog10
0N/A#define pow jpow
0N/A#define sin jsin
0N/A#define sqrt jsqrt
0N/A#define cbrt jcbrt
0N/A#define tan jtan
0N/A#define floor jfloor
0N/A#define ceil jceil
0N/A#define cosh jcosh
0N/A#define fmod jmod
0N/A#define log10 jlog10
0N/A#define sinh jsinh
0N/A#define fabs jfabs
0N/A#define tanh jtanh
0N/A#define remainder jremainder
0N/A#define hypot jhypot
0N/A#define log1p jlog1p
0N/A#define expm1 jexpm1
0N/A
4632N/A#if defined(__linux__) || defined(_ALLBSD_SOURCE)
0N/A#define __ieee754_sqrt __j__ieee754_sqrt
0N/A#define __ieee754_acos __j__ieee754_acos
4632N/A#define __ieee754_acosh __j__ieee754_acosh
0N/A#define __ieee754_log __j__ieee754_log
0N/A#define __ieee754_atanh __j__ieee754_atanh
0N/A#define __ieee754_asin __j__ieee754_asin
0N/A#define __ieee754_atan2 __j__ieee754_atan2
0N/A#define __ieee754_exp __j__ieee754_exp
0N/A#define __ieee754_cosh __j__ieee754_cosh
0N/A#define __ieee754_fmod __j__ieee754_fmod
0N/A#define __ieee754_pow __j__ieee754_pow
4632N/A#define __ieee754_lgamma_r __j__ieee754_lgamma_r
4632N/A#define __ieee754_gamma_r __j__ieee754_gamma_r
4632N/A#define __ieee754_lgamma __j__ieee754_lgamma
4632N/A#define __ieee754_gamma __j__ieee754_gamma
0N/A#define __ieee754_log10 __j__ieee754_log10
0N/A#define __ieee754_sinh __j__ieee754_sinh
0N/A#define __ieee754_hypot __j__ieee754_hypot
4632N/A#define __ieee754_j0 __j__ieee754_j0
4632N/A#define __ieee754_j1 __j__ieee754_j1
4632N/A#define __ieee754_y0 __j__ieee754_y0
4632N/A#define __ieee754_y1 __j__ieee754_y1
4632N/A#define __ieee754_jn __j__ieee754_jn
4632N/A#define __ieee754_yn __j__ieee754_yn
0N/A#define __ieee754_remainder __j__ieee754_remainder
0N/A#define __ieee754_rem_pio2 __j__ieee754_rem_pio2
0N/A#define __ieee754_scalb __j__ieee754_scalb
0N/A#define __kernel_standard __j__kernel_standard
0N/A#define __kernel_sin __j__kernel_sin
0N/A#define __kernel_cos __j__kernel_cos
0N/A#define __kernel_tan __j__kernel_tan
0N/A#define __kernel_rem_pio2 __j__kernel_rem_pio2
0N/A#define __ieee754_log1p __j__ieee754_log1p
0N/A#define __ieee754_expm1 __j__ieee754_expm1
0N/A#endif
0N/A#endif/*_JFDLIBM_H*/