| 92 |
|
register int i; |
| 93 |
|
|
| 94 |
|
if (h <= -hlim) { /* left region */ |
| 95 |
< |
d = (double)(h+hlim)/sampdens; |
| 96 |
< |
if (d <= -1.0+FTINY) |
| 95 |
> |
d = (double)(-h-hlim)/sampdens; |
| 96 |
> |
if (d >= 1.0-FTINY) |
| 97 |
|
return; |
| 98 |
|
tanb = d/sqrt(1.0-d*d); |
| 99 |
|
for (i = 0; i < nglardirs; i++) { |
| 106 |
|
return; |
| 107 |
|
} |
| 108 |
|
if (h >= hlim) { /* right region */ |
| 109 |
< |
d = (double)(h-hlim)/sampdens; |
| 110 |
< |
if (d >= 1.0-FTINY) |
| 109 |
> |
d = (double)(-h+hlim)/sampdens; |
| 110 |
> |
if (d <= -1.0+FTINY) |
| 111 |
|
return; |
| 112 |
|
tanb = d/sqrt(1.0-d*d); |
| 113 |
|
for (i = 0; i < nglardirs; i++) { |