Skip to content

Commit 9e72b87

Browse files
committed
Changed spelling of big and little endian
Changed "Little Endian" and "little endian" to "little-endian"and similarly for "big-endian". [ticket: X]
1 parent b063a78 commit 9e72b87

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

doc/specs/stdlib_hash_procedures.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -458,8 +458,8 @@ incremental hashing procedures.
458458
SpookyHash is optimized for large objects and should give excellent
459459
performance for objects greater than about 96 byes, but has
460460
significant overhead for smaller objects.
461-
The code was designed for Little Endian compilers, and will give
462-
different results on Big Endian compilers, but the hash quality on
461+
The code was designed for little-endian compilers, and will give
462+
different results on big-endian compilers, but the hash quality on
463463
those compilers is probably just as good.
464464
SpookyHash version 2 passes all of Reini Urban's SMHasher tests, and
465465
has one bad seed only when reduced to a 32 bit output.
@@ -496,9 +496,9 @@ As `stdlib_32_bit_hash_codes` deals exclusively with 32 bit hash codes,
496496
In implementing hash functions it is sometimes necessary to know the
497497
"endianess" of the compiler's integers. To this end the
498498
`stdlib_32_bit_hash_codes` module defines the logical parameter
499-
`LITTLE_ENDIAN` that, if true, indicates that the compiler has little
500-
endian integers, and that if false indicates that the integers are big
501-
endian.
499+
`LITTLE_ENDIAN` that, if true, indicates that the compiler has
500+
little-endian integers, and that if false indicates that the integers
501+
are big-endian.
502502

503503
### Specifications of the `stdlib_32_bit_hash_codes` procedures
504504

@@ -1127,9 +1127,9 @@ As `stdlib_64_bit_hash_codes` deals exclusively with 64 bit hash codes,
11271127
In implementing hash functions it is sometimes necessary to know the
11281128
"endianess" of the compiler's integers. To this end the
11291129
`stdlib_64_bit_hash_codes` module defines the logical parameter
1130-
`LITTLE_ENDIAN` that if true indicates that the compiler has little
1131-
endian integers, and that if false indicates that the integers are big
1132-
endian.
1130+
`LITTLE_ENDIAN` that if true indicates that the compiler has
1131+
little-endian integers, and that if false indicates that the integers
1132+
are big-endian.
11331133

11341134

11351135
### Specifications of the `stdlib_64_bit_hash_codes` procedures
@@ -1525,8 +1525,8 @@ The result is a two element integer vector of kind `INT64`.
15251525
##### Note
15261526

15271527
`SPOOKY_HASH` is an implementation of the 64 bit version 2 of
1528-
SpookyHash of Bob Jenkins. The code was designed for Little-Endian
1529-
compilers. The output is different on Big Endian compilers, but still
1528+
SpookyHash of Bob Jenkins. The code was designed for little-endian
1529+
compilers. The output is different on big-endian compilers, but still
15301530
probably as good quality. It is often used as a 64 bit hash using the
15311531
first element of the returned value, but can be used as a 128 bit
15321532
hash. This version of `SPOOKY_HASH` has good performance on small keys

0 commit comments

Comments
 (0)