diff options
author | jmc <> | 2003-05-10 06:48:30 +0000 |
---|---|---|
committer | jmc <> | 2003-05-10 06:48:30 +0000 |
commit | a3c632017e2c1a24a55f9dc6f0232f1f13dbdb4c (patch) | |
tree | 22b80bac9235d6cfd7ecd40565621a27f24d5d70 /src/lib/libc/stdlib/rand48.3 | |
parent | 82f8b639e5cb43bb235ee24ece27ef61cd1a03fa (diff) | |
download | openbsd-a3c632017e2c1a24a55f9dc6f0232f1f13dbdb4c.tar.gz openbsd-a3c632017e2c1a24a55f9dc6f0232f1f13dbdb4c.tar.bz2 openbsd-a3c632017e2c1a24a55f9dc6f0232f1f13dbdb4c.zip |
typos;
Diffstat (limited to 'src/lib/libc/stdlib/rand48.3')
-rw-r--r-- | src/lib/libc/stdlib/rand48.3 | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/libc/stdlib/rand48.3 b/src/lib/libc/stdlib/rand48.3 index 31a4fdf4dd..6b0831ead7 100644 --- a/src/lib/libc/stdlib/rand48.3 +++ b/src/lib/libc/stdlib/rand48.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | \" Copyright (c) 1993 Martin Birgmeier | 1 | .\" Copyright (c) 1993 Martin Birgmeier |
2 | .\" All rights reserved. | 2 | .\" All rights reserved. |
3 | .\" | 3 | .\" |
4 | .\" You may redistribute unmodified or modified versions of this source | 4 | .\" You may redistribute unmodified or modified versions of this source |
@@ -9,7 +9,7 @@ | |||
9 | .\" of any kind. I shall in no event be liable for anything that happens | 9 | .\" of any kind. I shall in no event be liable for anything that happens |
10 | .\" to anyone/anything when using this software. | 10 | .\" to anyone/anything when using this software. |
11 | .\" | 11 | .\" |
12 | .\" $OpenBSD: rand48.3,v 1.8 2001/08/06 10:42:26 mpech Exp $ | 12 | .\" $OpenBSD: rand48.3,v 1.9 2003/05/10 06:48:30 jmc Exp $ |
13 | .\" | 13 | .\" |
14 | .Dd October 8, 1993 | 14 | .Dd October 8, 1993 |
15 | .Dt RAND48 3 | 15 | .Dt RAND48 3 |
@@ -24,7 +24,7 @@ | |||
24 | .Nm srand48 , | 24 | .Nm srand48 , |
25 | .Nm seed48 , | 25 | .Nm seed48 , |
26 | .Nm lcong48 | 26 | .Nm lcong48 |
27 | .Nd pseudo random number generators and initialization routines | 27 | .Nd pseudo-random number generators and initialization routines |
28 | .Sh SYNOPSIS | 28 | .Sh SYNOPSIS |
29 | .Fd #include <stdlib.h> | 29 | .Fd #include <stdlib.h> |
30 | .Ft double | 30 | .Ft double |
@@ -67,7 +67,7 @@ and | |||
67 | return values of type double. | 67 | return values of type double. |
68 | The full 48 bits of r(n+1) are | 68 | The full 48 bits of r(n+1) are |
69 | loaded into the mantissa of the returned value, with the exponent set | 69 | loaded into the mantissa of the returned value, with the exponent set |
70 | such that the values produced lie in the interval [0.0, 1.0). | 70 | such that the values produced lie in the interval [0.0, 1.0]. |
71 | .Pp | 71 | .Pp |
72 | .Fn lrand48 | 72 | .Fn lrand48 |
73 | and | 73 | and |
@@ -156,7 +156,7 @@ always also set the multiplicand and addend for any of the six | |||
156 | generator calls. | 156 | generator calls. |
157 | .Pp | 157 | .Pp |
158 | For a more powerful random number generator, see | 158 | For a more powerful random number generator, see |
159 | .Xr random 3 | 159 | .Xr random 3 . |
160 | .Sh AUTHORS | 160 | .Sh AUTHORS |
161 | Martin Birgmeier | 161 | Martin Birgmeier |
162 | .Sh SEE ALSO | 162 | .Sh SEE ALSO |