/* Stub for defining degree-valued trigonemetric functions using MPFR. Copyright (C) 2000-2020 Free Software Foundation, Inc. Contributed by Fritz Reese and Steven G. Kargl This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with GCC; see the file COPYING3. If not see . */ #define FTYPE mpfr_t #define RETTYPE void #define RETURN(x) do { } while (0) #define ITYPE mpz_t #define ISFINITE(x) mpfr_number_p(x) #define D2R(x) deg2rad(x) #define SIND simplify_sind #define COSD simplify_cosd #define TAND simplify_tand #ifdef HAVE_GFC_REAL_16 #define COSD30 8.66025403784438646763723170752936183e-01Q #else #define COSD30 8.66025403784438646763723170752936183e-01L #endif #define SET_COSD30(x) mpfr_set_ld((x), COSD30, GFC_RND_MODE) static RETTYPE SIND (FTYPE); static RETTYPE COSD (FTYPE); static RETTYPE TAND (FTYPE); #include "../../libgfortran/intrinsics/trigd.inc" /* vim: set ft=c: */