Skip to content

Commit 95acdca

Browse files
committed
stdlib_hash_32bit
1 parent 15da01f commit 95acdca

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/stdlib_hash_32bit.fypp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -227,8 +227,8 @@ contains
227227
elemental function fibonacci_hash( key, nbits ) result( sample )
228228
!! Version: experimental
229229
!!
230-
!! Maps the 32 bit integer KEY to an unsigned integer value with only NBITS
231-
!! bits where NBITS is less than 32
230+
!! Maps the 32 bit integer `key` to an unsigned integer value with only `nbits`
231+
!! bits where `nbits` is less than 32
232232
!! ([Specification](../page/specs/stdlib_hash_procedures.html#fibonacci_hash-maps-an-integer-to-a-smaller-number-of-bits))
233233

234234
integer(int32), intent(in) :: key
@@ -242,8 +242,8 @@ contains
242242
elemental function universal_mult_hash( key, seed, nbits ) result( sample )
243243
!! Version: experimental
244244
!!
245-
!! Uses the "random" odd 32 bit integer SEED to map the 32 bit integer KEY to
246-
!! an unsigned integer value with only NBITS bits where NBITS is less than 32
245+
!! Uses the "random" odd 32 bit integer `seed` to map the 32 bit integer `key` to
246+
!! an unsigned integer value with only `nbits` bits where `nbits` is less than 32
247247
!! ([Specification](../page/specs/stdlib_hash_procedures.html#universal_mult_hash-maps-an-integer-to-a-smaller-number-of-bits))
248248
integer(int32), intent(in) :: key
249249
integer(int32), intent(in) :: seed
@@ -257,8 +257,8 @@ contains
257257
subroutine odd_random_integer( harvest )
258258
!! Version: experimental
259259
!!
260-
!! Returns a 32 bit pseudo random integer, HARVEST, distributed uniformly over
261-
!! the odd integers of the INT32 kind.
260+
!! Returns a 32 bit pseudo random integer, `harvest`, distributed uniformly over
261+
!! the odd integers of the `int32` kind.
262262
!! ([Specification](../page/specs/stdlib_hash_procedures.html#odd_random_integer-returns-an-odd-integer))
263263
integer(int32), intent(out) :: harvest
264264
real(dp) :: sample

0 commit comments

Comments
 (0)