add Vcs entries to the control file
[debian/yforth] / float.h
1 /* yForth? - Written by Luca Padovani (C) 1996/97
2  * ------------------------------------------------------------------------
3  * This software is FreeWare as long as it comes with this header in each
4  * source file, anyway you can use it or any part of it whatever
5  * you want. It comes without any warranty, so use it at your own risk.
6  * ------------------------------------------------------------------------
7  * Module name:     float.h
8  * Abstract:        include file for "floating" word set
9  */
10
11 #ifdef DECLARE_WORDS
12 #       ifdef PROTOTYPES
13 #               undef PROTOTYPES
14 #       endif
15 #       undef __FLOAT_H__
16 #else
17 #       ifndef PROTOTYPES
18 #               define PROTOTYPES
19 #       endif
20 #endif
21
22 #ifndef __FLOAT_H__
23 #define __FLOAT_H__
24
25 #include "yforth.h"
26 #include "macro.h"
27
28 /**************************************************************************/
29 /* PROTOTYPES *************************************************************/
30 /**************************************************************************/
31
32 code(to_float,                                          ">float",                               0)
33 code(d_to_f,                                            "d>f",                                  0)
34 code(f_store,                                           "f!",                                   0)
35 code(f_star,                                            "f*",                                   0)
36 code(f_plus,                                            "f+",                                   0)
37 code(f_minus,                                           "f-",                                   0)
38 code(f_slash,                                           "f/",                                   0)
39 code(f_zero_less,                                       "f0<",                                  0)
40 code(f_zero_equals,                                     "f0=",                                  0)
41 code(f_less_than,                                       "f<",                                   0)
42 code(f_to_d,                                            "f>d",                                  0)
43 code(f_fetch,                                           "f@",                                   0)
44 code(align,                                                     "falign",                               0)
45 code(aligned,                                           "faligned",                             0)
46 code(f_constant,                                        "fconstant",                    0)
47 code(f_depth,                                           "fdepth",                               0)
48 code(f_drop,                                            "fdrop",                                0)
49 code(f_dupe,                                            "fdup",                                 0)
50 code(f_literal,                                         "fliteral",                             COMP_ONLY | IMMEDIATE)
51 code(float_plus,                                        "float+",                               0)
52 code(floats,                                            "floats",                               0)
53 code(floor,                                                     "floor",                                0)
54 code(f_max,                                                     "fmax",                                 0)
55 code(f_min,                                                     "fmin",                                 0)
56 code(f_negate,                                          "fnegate",                              0)
57 code(f_over,                                            "fover",                                0)
58 code(f_rote,                        "frot",                                     0)
59 code(f_round,                                           "fround",                               0)
60 code(f_swap,                                            "fswap",                                0)
61 code(f_variable,                                        "fvariable",                    0)
62 code(represent,                     "represent",            0)
63
64 #ifdef PROTOTYPES
65
66 #endif
67
68 #endif
69