Implement ENVIRONMENT?
[pforth] / csrc / pf_float.h
CommitLineData
8e9db35f
PB
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** The pForth software code is dedicated to the public domain,
12** and any third party may reproduce, distribute and modify
13** the pForth software code or any derivative works thereof
14** without any compensation or license. The pForth software
15** code is provided on an "as is" basis without any warranty
16** of any kind, including, without limitation, the implied
17** warranties of merchantability and fitness for a particular
18** purpose and their equivalents under the laws of any jurisdiction.
19**
20***************************************************************/
21
22typedef double PF_FLOAT;
23
24/* Define pForth specific math functions. */
25
26#define fp_acos acos
27#define fp_asin asin
28#define fp_atan atan
29#define fp_atan2 atan2
30#define fp_cos cos
31#define fp_cosh cosh
32#define fp_fabs fabs
33#define fp_floor floor
34#define fp_log log
35#define fp_log10 log10
36#define fp_pow pow
37#define fp_sin sin
38#define fp_sinh sinh
39#define fp_sqrt sqrt
40#define fp_tan tan
41#define fp_tanh tanh
3a940535 42#define fp_round round
8e9db35f
PB
43
44#endif