1 /* yForth? - A Forth interpreter written in ANSI C
2 * Copyright (C) 2012 Luca Padovani
4 * This program is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, either version 3 of the License, or
7 * (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <http://www.gnu.org/licenses/>.
16 * ------------------------------------------------------------------------
17 * Module name: floate.h
18 * Abstract: include file for "floating-extension" word set
38 /**************************************************************************/
39 /* PROTOTYPES *************************************************************/
40 /**************************************************************************/
42 code(d_f_store, "df!", 0)
43 code(d_f_fetch, "df@", 0)
44 code(align, "dfalign", 0)
45 code(aligned, "dfaligned", 0)
46 code(d_float_plus, "dfloat+", 0)
47 code(d_floats, "dfloats", 0)
48 code(f_star_star, "f**", 0)
50 code(f_abs, "fabs", 0)
51 code(f_a_cos, "facos", 0)
52 code(f_a_cosh, "facosh", 0)
53 code(f_a_log, "falog", 0)
54 code(f_a_sin, "fasin", 0)
55 code(f_a_sinh, "fasinh", 0)
56 code(f_a_tan, "fatan", 0)
57 code(f_a_tan2, "fatan2", 0)
58 code(f_a_tanh, "fatanh", 0)
59 code(f_cos, "fcos", 0)
60 code(f_cosh, "fcosh", 0)
61 code(f_e_dot, "fe.", 0)
62 code(f_exp, "fexp", 0)
63 code(f_exp_m_one, "fexpm1", 0)
65 code(f_ln_p_one, "flnp1", 0)
66 code(f_log, "flog", 0)
67 code(f_s_dot, "fs.", 0)
68 code(f_sin, "fsin", 0)
69 code(f_sin_cos, "fsincos", 0)
70 code(f_sinh, "fsinh", 0)
71 code(f_sqrt, "fsqrt", 0)
72 code(f_tan, "ftan", 0)
73 code(f_tanh, "ftanh", 0)
74 code(f_proximate, "f~", 0)
75 code(precision, "precision", 0)
76 code(set_precision, "set-precision", 0)
77 code(s_f_store, "sf!", 0)
78 code(s_f_fetch, "sf@", 0)
79 code(align, "sfalign", 0)
80 code(aligned, "sfaligned", 0)
81 code(s_float_plus, "sfloat+", 0)
82 code(s_floats, "sfloats", 0)