-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhocdecl.h
51 lines (41 loc) · 1022 Bytes
/
hocdecl.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/*
** HOCDECL.H definitions for the hoc3.y calculator
** in K&P p246 ch8.
*/
#define TRUE 1
#define FALSE 0
/*
** functions in HOC3.C
*/
extern int yylex( void) ;
extern void execerror( char *, char *) ;
extern void fpecatch( int ) ;
extern void yyerror( char *) ;
extern void warning( char *, char *) ;
/*
** function in INIT.C
*/
extern void init( void) ;
/*
** functions in MATH.C
*/
extern double Log(double x);
extern double Log10(double x);
extern double Exp(double x);
extern double Pow(double x,double y);
extern double integer(double x);
extern double Sqrt(double x);
extern double errcheck( double, char *) ;
extern double f2c(double d);
extern double c2f(double d);
extern double in2mm(double d);
extern double mm2in(double d);
extern double po2kg(double d);
extern double kg2po(double d);
/*
** functions in FUNC.C
*/
extern int print(double);
extern int echo(char *str);
extern int echo_nl(char *str);
extern int ddate(char *str);