aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/mathbuiltins.def
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/fortran/mathbuiltins.def')
-rw-r--r--gcc/fortran/mathbuiltins.def17
1 files changed, 17 insertions, 0 deletions
diff --git a/gcc/fortran/mathbuiltins.def b/gcc/fortran/mathbuiltins.def
index 3bedc1a..2d6e967 100644
--- a/gcc/fortran/mathbuiltins.def
+++ b/gcc/fortran/mathbuiltins.def
@@ -51,3 +51,20 @@ DEFINE_MATH_BUILTIN (ERFC, "erfc", 0)
DEFINE_MATH_BUILTIN (TGAMMA,"tgamma", 0)
DEFINE_MATH_BUILTIN (LGAMMA,"lgamma", 0)
DEFINE_MATH_BUILTIN (HYPOT, "hypot", 1)
+
+/* OTHER_BUILTIN (CODE, NAME, PROTOTYPE_TYPE)
+ For floating-point builtins that do not directly correspond to a
+ Fortran intrinsic. This is used to map the different variants (float,
+ double and long double) and to build the quad-precision decls. */
+OTHER_BUILTIN (CABS, "cabs", cabs)
+OTHER_BUILTIN (COPYSIGN, "copysign", 2)
+OTHER_BUILTIN (FABS, "fabs", 1)
+OTHER_BUILTIN (FMOD, "fmod", 2)
+OTHER_BUILTIN (FREXP, "frexp", frexp)
+OTHER_BUILTIN (HUGE_VAL, "huge_val", 0)
+OTHER_BUILTIN (LLROUND, "llround", llround)
+OTHER_BUILTIN (LROUND, "lround", lround)
+OTHER_BUILTIN (NEXTAFTER, "nextafter", 2)
+OTHER_BUILTIN (ROUND, "round", 1)
+OTHER_BUILTIN (SCALBN, "scalbn", scalbn)
+OTHER_BUILTIN (TRUNC, "trunc", 1)