|
|
1.1 root 1: # include "e.h"
2:
3: sqrt(p2)
4: int p2;
5: {
6: int nps;
7:
8: nps = ps * 0.95 * eht[p2] / EM(1.0,ps) + 0.99; /* kludgy */
9: nps = max(EFFPS(nps), ps);
10: yyval = p2;
11: if (ttype == DEVCAT || ttype == DEVAPS)
12: eht[yyval] = EM(1.2, nps);
13: else if (ttype == DEV202)
14: eht[yyval] = EM(1.1, nps);
15: dprintf(".\tS%d <- sqrt S%d;b=%g, h=%g, nps=%d\n",
16: yyval, p2, ebase[yyval], eht[yyval], nps);
17: printf(".as %d \\|\n", yyval);
18: nrwid(p2, ps, p2);
19: printf(".ds %d \\v'%gm'%s", yyval, REL(ebase[p2],ps), DPS(ps,nps)); /* proper position for sqrt */
20: if (ttype == DEVCAT || ttype == DEVAPS)
21: printf("\\v'-.2m'\\(sr\\l'\\n(%du\\(rn'\\v'.2m'", p2);
22: else
23: printf("\\(sr\\l'\\n(%du\\(rn'", p2);
24: printf("%s\\v'%gm'\\h'-\\n(%du'\\*(%d\n", DPS(nps,ps), REL(-ebase[p2],ps), p2, p2);
25: lfont[yyval] = rfont[yyval] = ROM;
26: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.