Imported Upstream version 0.1beta
[debian/yforth] / double.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:     double.h
8  * Abstract:        include file for "double-numbers" word set
9  */
10
11 #ifdef DECLARE_WORDS
12 #       ifdef PROTOTYPES
13 #               undef PROTOTYPES
14 #       endif
15 #       undef __DOUBLE_H__
16 #else
17 #       ifndef PROTOTYPES
18 #               define PROTOTYPES
19 #       endif
20 #endif
21
22 #ifndef __DOUBLE_H__
23 #define __DOUBLE_H__
24
25 #include "yforth.h"
26 #include "macro.h"
27
28 /**************************************************************************/
29 /* PROTOTYPES *************************************************************/
30 /**************************************************************************/
31
32 code(two_constant,                                              "2constant",                    0)
33 code(two_literal,                                               "2literal",                             COMP_ONLY | IMMEDIATE)
34 code(two_variable,                                              "2variable",                    0)
35 code(d_plus,                                                    "d+",                                   0)
36 code(d_minus,                                                   "d-",                                   0)
37 code(d_dot,                                                             "d.",                                   0)
38 code(d_dot_r,                                                   "d.r",                                  0)
39 code(d_zero_less,                                               "d0<",                                  0)
40 code(d_zero_equals,                                             "d0=",                                  0)
41 code(d_two_star,                                                "d2*",                                  0)
42 code(d_two_slash,                                               "d2/",                                  0)
43 code(d_less_than,                                               "d<",                                   0)
44 code(d_equals,                                                  "d=",                                   0)
45 code(drop,                                                              "d>s",                                  0)
46 code(dabs,                                                              "dabs",                                 0)
47 code(dmax,                                                              "dmax",                                 0)
48 code(dmin,                                                              "dmin",                                 0)
49 code(dnegate,                                                   "dnegate",                              0)
50 code(m_star_slash,                                              "m*/",                                  0)
51 code(m_plus,                                                    "m+",                                   0)
52
53 #ifdef PROTOTYPES
54
55 #endif
56
57 #endif
58