Update release notes for v2.0.0
[debian/pforth] / csrc / pf_float.h
1 /* @(#) pf_float.h 98/01/28 1.1 */
2 #ifndef _pf_float_h
3 #define _pf_float_h
4
5 /***************************************************************
6 ** Include file for PForth, a Forth based on 'C'
7 **
8 ** Author: Phil Burk
9 ** Copyright 1994 3DO, Phil Burk, Larry Polansky, David Rosenboom
10 **
11 ** Permission to use, copy, modify, and/or distribute this
12 ** software for any purpose with or without fee is hereby granted.
13 **
14 ** THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
15 ** WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
16 ** WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
17 ** THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR
18 ** CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
19 ** FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF
20 ** CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
21 ** OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
22 **
23 ***************************************************************/
24
25 typedef double PF_FLOAT;
26
27 /* Define pForth specific math functions. */
28
29 #define fp_acos   acos
30 #define fp_asin   asin
31 #define fp_atan   atan
32 #define fp_atan2  atan2
33 #define fp_cos    cos
34 #define fp_cosh   cosh
35 #define fp_fabs   fabs
36 #define fp_floor  floor
37 #define fp_log    log
38 #define fp_log10  log10
39 #define fp_pow    pow
40 #define fp_sin    sin
41 #define fp_sinh   sinh
42 #define fp_sqrt   sqrt
43 #define fp_tan    tan
44 #define fp_tanh   tanh
45 #define fp_round  round
46
47 #endif