aboutsummaryrefslogtreecommitdiff
path: root/sys/fmtio/gargr.x
blob: 4f25d717ed246d705ed21991fd44274dad105245 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Copyright(c) 1986 Association of Universities for Research in Astronomy Inc.

# GARGR -- Interpret the next input token as a single precision floating
# quantity.

procedure gargr (rval)

real	rval
double	dval

begin
	call gargd (dval)
	if (IS_INDEFD (dval))
	    rval = INDEFR
	else
	    rval = dval
end