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 (ASIN
, "asin", 0)
10 DEFINE_MATH_BUILTIN_C (ATAN
, "atan", 0)
11 DEFINE_MATH_BUILTIN (ATAN2
, "atan2", 1)
12 DEFINE_MATH_BUILTIN_C (COS
, "cos", 0)
13 DEFINE_MATH_BUILTIN_C (COSH
, "cosh", 0)
14 DEFINE_MATH_BUILTIN_C (EXP
, "exp", 0)
15 DEFINE_MATH_BUILTIN_C (LOG
, "log", 0)
16 DEFINE_MATH_BUILTIN_C (LOG10
, "log10", 0)
17 DEFINE_MATH_BUILTIN_C (SIN
, "sin", 0)
18 DEFINE_MATH_BUILTIN_C (SINH
, "sinh", 0)
19 DEFINE_MATH_BUILTIN_C (SQRT
, "sqrt", 0)
20 DEFINE_MATH_BUILTIN_C (TAN
, "tan", 0)
21 DEFINE_MATH_BUILTIN_C (TANH
, "tanh", 0)
22 DEFINE_MATH_BUILTIN (J0
, "j0", 0)
23 DEFINE_MATH_BUILTIN (J1
, "j1", 0)
24 DEFINE_MATH_BUILTIN (JN
, "jn", 2)
25 DEFINE_MATH_BUILTIN (Y0
, "y0", 0)
26 DEFINE_MATH_BUILTIN (Y1
, "y1", 0)
27 DEFINE_MATH_BUILTIN (YN
, "yn", 2)
28 DEFINE_MATH_BUILTIN (ERF
, "erf", 0)
29 DEFINE_MATH_BUILTIN (ERFC
, "erfc", 0)