1 /* DEFINE_MATH_BUILTIN (CODE
, NAME
, ARGTYPE
)
2 NAME The name of the builtin
3 SNAME The name of the builtin as a string
4 ARGTYPE The type of the arguments. See f95
-lang.c
6 Use DEFINE_MATH_BUILTIN_C if the complex versions of the builtin are
8 DEFINE_MATH_BUILTIN_C (ACOS
, "acos", 0)
9 DEFINE_MATH_BUILTIN_C (ACOSH
, "acosh", 0)
10 DEFINE_MATH_BUILTIN_C (ASIN
, "asin", 0)
11 DEFINE_MATH_BUILTIN_C (ASINH
, "asinh", 0)
12 DEFINE_MATH_BUILTIN_C (ATAN
, "atan", 0)
13 DEFINE_MATH_BUILTIN_C (ATANH
, "atanh", 0)
14 DEFINE_MATH_BUILTIN (ATAN2
, "atan2", 1)
15 DEFINE_MATH_BUILTIN_C (COS
, "cos", 0)
16 DEFINE_MATH_BUILTIN_C (COSH
, "cosh", 0)
17 DEFINE_MATH_BUILTIN_C (EXP
, "exp", 0)
18 DEFINE_MATH_BUILTIN_C (LOG
, "log", 0)
19 DEFINE_MATH_BUILTIN_C (LOG10
, "log10", 0)
20 DEFINE_MATH_BUILTIN_C (SIN
, "sin", 0)
21 DEFINE_MATH_BUILTIN_C (SINH
, "sinh", 0)
22 DEFINE_MATH_BUILTIN_C (SQRT
, "sqrt", 0)
23 DEFINE_MATH_BUILTIN_C (TAN
, "tan", 0)
24 DEFINE_MATH_BUILTIN_C (TANH
, "tanh", 0)
25 DEFINE_MATH_BUILTIN (J0
, "j0", 0)
26 DEFINE_MATH_BUILTIN (J1
, "j1", 0)
27 DEFINE_MATH_BUILTIN (JN
, "jn", 2)
28 DEFINE_MATH_BUILTIN (Y0
, "y0", 0)
29 DEFINE_MATH_BUILTIN (Y1
, "y1", 0)
30 DEFINE_MATH_BUILTIN (YN
, "yn", 2)
31 DEFINE_MATH_BUILTIN (ERF
, "erf", 0)
32 DEFINE_MATH_BUILTIN (ERFC
, "erfc", 0)
33 DEFINE_MATH_BUILTIN (GAMMA
, "tgamma", 0)
34 DEFINE_MATH_BUILTIN (LGAMMA
,"lgamma", 0)
35 DEFINE_MATH_BUILTIN (HYPOT
, "hypot", 1)