-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnumfuncs.h
69 lines (62 loc) · 3.17 KB
/
numfuncs.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
/*
11/20/2016
This program 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 2 of the License, or
(at your option) any later version.
This program 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 this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301, USA.
*/
#ifndef NUMFUNCS_H_
#define NUMFUNCS_H_
static awk_value_t *do_round(int nargs, awk_value_t *);
static awk_value_t *do_ceil(int nargs, awk_value_t *);
static awk_value_t *do_floor(int nargs, awk_value_t *);
static awk_value_t *do_trunc(int nargs, awk_value_t *);
static awk_value_t *do_abs(int nargs, awk_value_t *);
static awk_value_t *do_fabs(int nargs, awk_value_t *);
static awk_value_t *do_cabs(int nargs, awk_value_t *);
static awk_value_t *do_logb(int nargs, awk_value_t *);
static awk_value_t *do_clog(int nargs, awk_value_t *);
static awk_value_t *do_cimag(int nargs, awk_value_t *);
static awk_value_t *do_creal(int nargs, awk_value_t *);
static awk_value_t *do_cexp(int nargs, awk_value_t *);
static awk_value_t *do_cbrt(int nargs, awk_value_t *);
static awk_value_t *do_log2(int nargs, awk_value_t *);
static awk_value_t *do_log10(int nargs, awk_value_t *);
static awk_value_t *do_exp2(int nargs, awk_value_t *);
static awk_value_t *do_expm1(int nargs, awk_value_t *);
static awk_value_t *do_tan(int nargs, awk_value_t *);
static awk_value_t *do_asin(int nargs, awk_value_t *);
static awk_value_t *do_acos(int nargs, awk_value_t *);
static awk_value_t *do_atan(int nargs, awk_value_t *);
static awk_value_t *do_sinh(int nargs, awk_value_t *);
static awk_value_t *do_cosh(int nargs, awk_value_t *);
static awk_value_t *do_tanh(int nargs, awk_value_t *);
static awk_value_t *do_erf(int nargs, awk_value_t *);
static awk_value_t *do_erfc(int nargs, awk_value_t *);
static awk_value_t *do_lgamma(int nargs, awk_value_t *);
static awk_value_t *do_tgamma(int nargs, awk_value_t *);
static awk_value_t *do_cpow(int nargs, awk_value_t *);
static awk_value_t *do_hypot(int nargs, awk_value_t *);
static awk_value_t *do_remainder(int nargs, awk_value_t *);
static awk_value_t *do_fmin(int nargs, awk_value_t *);
static awk_value_t *do_fmax(int nargs, awk_value_t *);
static awk_value_t *do_fdim(int nargs, awk_value_t *);
static awk_value_t *do_fmod(int nargs, awk_value_t *);
static awk_value_t *do_numsonly(int nargs, awk_value_t *);
static awk_value_t *do_frombase(int nargs, awk_value_t *);
static awk_value_t *do_tobase(int nargs, awk_value_t *);
static awk_value_t *do_j0(int nargs, awk_value_t *);
static awk_value_t *do_j1(int nargs, awk_value_t *);
static awk_value_t *do_y0(int nargs, awk_value_t *);
static awk_value_t *do_y1(int nargs, awk_value_t *);
static awk_value_t *do_copysign(int nargs, awk_value_t *);
static char *portable_itoa(int value, char *, int base);
#endif /* NUMFUNCS_H_ */