Home
last modified time | relevance | path

Searched refs:h3 (Results 1 – 2 of 2) sorted by relevance

/original-bsd/old/eqn/common_source/
H A Dshift.c101 int effps, h1, h2, h3, b1, b2, b3, subsh, d1, d2, supsh, treg; local
111 eht[p3] = h3 = VERT( (eht[p3] * effps) / EFFPS(ps) );
121 h3 = eht[p3]; b3 = ebase[p3];
130 if( VERT(4*(h1-b1)/10)+h3 < h1-b1 )
134 if( VERT(1)+h3 < h1-b1 )
136 supsh = -(h1-b1) + (h3-b3) - d2;
138 eht[yyval] = h1 + max(0, h3-VERT( (6*(h1-b1))/10 )) + max(0, h2-b1-d1);
140 eht[yyval] = h1 + max(0, h3-VERT(1)) + max(0, h2-b1-d1);
/original-bsd/local/ditroff/ditroff.okeeffe/eqn/
H A Dshift.c69 float h1, h2, h3, b1, b2, b3, subsh, d1, d2, supsh; local
78 h3 = eht[p3]; b3 = ebase[p3];
85 if (h3 < (1-Supshift)*(h1-b1))
86 supsh = -(h1-b1) + (h3-b3) - d2;
88 eht[yyval] = h1 + subsh+b2-b1 + max(0, h3-(1-Supshift)*(h1-b1));