Imported Upstream version 21
[debian/pforth] / csrc / pf_float.h
1 /* @(#) pf_float.h 98/01/28 1.1 */\r
2 #ifndef _pf_float_h\r
3 #define _pf_float_h\r
4 \r
5 /***************************************************************\r
6 ** Include file for PForth, a Forth based on 'C'\r
7 **\r
8 ** Author: Phil Burk\r
9 ** Copyright 1994 3DO, Phil Burk, Larry Polansky, Devid Rosenboom\r
10 **\r
11 ** The pForth software code is dedicated to the public domain,\r
12 ** and any third party may reproduce, distribute and modify\r
13 ** the pForth software code or any derivative works thereof\r
14 ** without any compensation or license.  The pForth software\r
15 ** code is provided on an "as is" basis without any warranty\r
16 ** of any kind, including, without limitation, the implied\r
17 ** warranties of merchantability and fitness for a particular\r
18 ** purpose and their equivalents under the laws of any jurisdiction.\r
19 **\r
20 ***************************************************************/\r
21 \r
22 typedef double PF_FLOAT;\r
23 \r
24 /* Define pForth specific math functions. */\r
25 \r
26 #define fp_acos   acos\r
27 #define fp_asin   asin\r
28 #define fp_atan   atan\r
29 #define fp_atan2  atan2\r
30 #define fp_cos    cos\r
31 #define fp_cosh   cosh  \r
32 #define fp_fabs   fabs\r
33 #define fp_floor  floor\r
34 #define fp_log    log  \r
35 #define fp_log10  log10\r
36 #define fp_pow    pow\r
37 #define fp_sin    sin\r
38 #define fp_sinh   sinh\r
39 #define fp_sqrt   sqrt\r
40 #define fp_tan    tan\r
41 #define fp_tanh   tanh\r
42 \r
43 #endif\r