File 0160-stdlib-Fix-spelling-in-rand-docs.patch of Package erlang

From c5ddc86b0a2c671e664c93208ae77ea1236dea48 Mon Sep 17 00:00:00 2001
From: Frank Hunleth <fhunleth@troodon-software.com>
Date: Wed, 1 Jan 2025 11:20:45 -0500
Subject: [PATCH] stdlib: Fix spelling in rand docs

---
 lib/stdlib/src/rand.erl | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/lib/stdlib/src/rand.erl b/lib/stdlib/src/rand.erl
index cddc3a1fed..5c12ce8de5 100644
--- a/lib/stdlib/src/rand.erl
+++ b/lib/stdlib/src/rand.erl
@@ -1530,7 +1530,7 @@ with a specific [`Seed`](`t:seed/0`).
 > nor in generating floating point numbers.  It is easy to accidentally
 > mess up the statistical properties of this generator or to loose
 > the performance advantage when doing either.
-> See the recepies at the start of this
+> See the recipes at the start of this
 > [Niche algorithms API](#niche-algorithms-api) description.
 >
 > Note also the caveat about weak low bits that this generator suffers from.
@@ -2232,7 +2232,7 @@ The low bits of the base generator are surprisingly good, so the lowest
 weaknesses that lie in the high bits of the 32-bit MWC "digit".
 It is recommended to use `rem` on the generator state, or bit mask
 extracting the lowest bits to produce numbers in a range 16 bits or less.
-See the recepies at the start of this
+See the recipes at the start of this
 [Niche algorithms API](#niche-algorithms-api) description.
 
 On a typical 64 bit Erlang VM this generator executes in below 8% (1/13)
@@ -2287,7 +2287,7 @@ in the xorshift making the low 16 good quality, but in the range
 16..31 bits there are weaker bits that should not become high bits
 of the generated values.
 
-Therefore it is in general safer to shift out low bits. See the recepies
+Therefore it is in general safer to shift out low bits. See the recipes
 at the start of this [Niche algorithms API](#niche-algorithms-api)
 description.
 
@@ -2312,7 +2312,7 @@ base generator enough that all 59 bits are of very good quality.
 Be careful to not accidentaly create a bignum when handling the value `V`.
 
 It is in general better to use the high bits from this scrambler than
-the low. See the recepies at the start of this
+the low. See the recipes at the start of this
 [Niche algorithms API](#niche-algorithms-api) description.
 
 For a non power of 2 range less than about 29 bits (to not get
-- 
2.43.0

openSUSE Build Service is sponsored by