blob: 5b53bba8924e59f489793f944c59823619329d9a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc.
include <mach.h>
# GARGI -- Interpret the next input token as an integer quantity.
procedure gargi (ival)
int ival
double dval
begin
call gargd (dval)
if (IS_INDEFD (dval))
ival = INDEFI
else if (abs(dval) > MAX_INT)
ival = INDEFI
else
ival = dval
end
|