NADCON5-ng  0.0.2
NADCON5 Next Generation Documentation
getmag.f
Go to the documentation of this file.
1 c> \ingroup core
2 c> \if MANPAGE
3 c> \page getmap
4 c> \endif
5 c>
6 c> Subroutine to return the magnitude of a double precision
7 c> value.
8 c>
9 c> \param[out] x result, magnitude of ix
10 c> \param[in] ix input douple precision
11 c>
12  subroutine getmag(x,ix)
13 c - Subroutine to return the magnitude of a double precision
14 c - value.
15  implicit real*8 (a-h,o-z)
16  y = dlog10(x)
17  ix = floor(y)
18  write(6,*) ' getmag: x,y,ix = ',x,y,ix
19  return
20  end
21 
22 
subroutine getmag(x, ix)
Subroutine to return the magnitude of a double precision value.
Definition: getmag.f:13