17 |
|
#include <math.h> |
18 |
|
|
19 |
|
#include "rterror.h" |
20 |
+ |
#include "resolu.h" |
21 |
+ |
#include "rterror.h" |
22 |
|
#include "calcomp.h" |
23 |
|
|
24 |
|
#define ZNAME "Z`SYS`" /* z function name */ |
48 |
|
} |
49 |
|
|
50 |
|
|
49 |
– |
void |
50 |
– |
eputs(msg) |
51 |
– |
char *msg; |
52 |
– |
{ |
53 |
– |
fputs(msg, stderr); |
54 |
– |
} |
55 |
– |
|
56 |
– |
|
57 |
– |
void |
58 |
– |
wputs(msg) |
59 |
– |
char *msg; |
60 |
– |
{ |
61 |
– |
eputs(msg); |
62 |
– |
} |
63 |
– |
|
64 |
– |
|
65 |
– |
void |
66 |
– |
quit(code) |
67 |
– |
int code; |
68 |
– |
{ |
69 |
– |
exit(code); |
70 |
– |
} |
71 |
– |
|
72 |
– |
|
73 |
– |
void |
74 |
– |
printhead(ac, av) /* print command header */ |
75 |
– |
register int ac; |
76 |
– |
register char **av; |
77 |
– |
{ |
78 |
– |
putchar('#'); |
79 |
– |
while (ac--) { |
80 |
– |
putchar(' '); |
81 |
– |
fputs(*av++, stdout); |
82 |
– |
} |
83 |
– |
putchar('\n'); |
84 |
– |
} |
85 |
– |
|
86 |
– |
|
51 |
|
double |
52 |
|
l_hermite(char *nm) |
53 |
|
{ |
127 |
|
goto userror; |
128 |
|
modname = smooth ? "Phong" : argv[1]; |
129 |
|
|
130 |
< |
printhead(argc, argv); |
130 |
> |
fputs("# ", stdout); |
131 |
> |
printargs(argc, argv, stdout); |
132 |
|
eclock = 0; |
133 |
|
|
134 |
|
lastnz = lastnr = 0.0; |