projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
BSD 4_4 release
[unix-history]
/
usr
/
src
/
share
/
man
/
man3f
/
rand.3
diff --git
a/usr/src/share/man/man3f/rand.3
b/usr/src/share/man/man3f/rand.3
index
bac2f4b
..
cfbdabb
100644
(file)
--- a/
usr/src/share/man/man3f/rand.3
+++ b/
usr/src/share/man/man3f/rand.3
@@
-1,10
+1,13
@@
-.\" Copyright (c) 1983 Regents of the University of California.
-.\" All rights reserved. The Berkeley software License Agreement
-.\" specifies the terms and conditions for redistribution.
+.\" Copyright (c) 1983, 1993
+.\" The Regents of the University of California. All rights reserved.
.\"
.\"
-.\" @(#)rand.3 5.1 (Berkeley) %G%
+.\" This module is believed to contain source code proprietary to AT&T.
+.\" Use and redistribution is subject to the Berkeley Software License
+.\" Agreement and your Software Agreement with AT&T (Western Electric).
.\"
.\"
-.TH RAND 3F "18 July 1983"
+.\" @(#)rand.3 8.1 (Berkeley) 6/5/93
+.\"
+.TH RAND 3F "June 5, 1993"
.UC 5
.SH NAME
rand, drand, irand \- return random values
.UC 5
.SH NAME
rand, drand, irand \- return random values
@@
-15,6
+18,11
@@
rand, drand, irand \- return random values
.sp 1
.B double precision function drand (iflag)
.SH DESCRIPTION
.sp 1
.B double precision function drand (iflag)
.SH DESCRIPTION
+.ft B
+The newer random(3f) should be used in new applications;
+rand remains for compatibilty.
+.ft R
+.PP
These functions use
.IR rand (3C)
to generate sequences of random numbers.
These functions use
.IR rand (3C)
to generate sequences of random numbers.
@@
-36,7
+44,7
@@
return values in the range 0. through 1.0 .
.ie \nM /usr/ucb/lib/libF77.a
.el /usr/lib/libF77.a
.SH "SEE ALSO"
.ie \nM /usr/ucb/lib/libF77.a
.el /usr/lib/libF77.a
.SH "SEE ALSO"
-rand(3C)
+rand
om(3F), rand
(3C)
.SH BUGS
The algorithm returns a 15 bit quantity on the PDP11; a 31 bit quantity
on the VAX.
.SH BUGS
The algorithm returns a 15 bit quantity on the PDP11; a 31 bit quantity
on the VAX.