File IRAND.FT (FORTRAN source file)
Directory of image this file is from
This file as a plain text file
SUBROUTINE IRAND(I,IANF,IEND,X)
PI=3.141592654
Z=(PI+X)**5
IZ=IFIX(Z)
X=Z-FLOAT(IZ)
IDIFF =IEND-IANF+1
ZWISCH=FLOAT(IDIFF)*X + FLOAT(IANF)
I = IFIX(ZWISCH)
RETURN
END
Feel free to contact me, David Gesswein djg@pdp8online.com
with any questions, comments on the web site, or if you have related equipment,
documentation, software etc. you are willing to part with. I am
interested in anything PDP-8
related, computers, peripherals used with them, DEC or third party, or
documentation.
PDP-8 Home Page
 PDP-8 Site Map
 PDP-8 Site Search