translation: Add the initial translation of the hashing chapter (#1066)

* Add the initial translation of the hashing chapter

* Fix
This commit is contained in:
Yudong Jin
2024-01-28 22:22:36 +08:00
committed by GitHub
parent 244c04fe44
commit 0bd4c34b9a
18 changed files with 1063 additions and 11 deletions

View File

@ -316,7 +316,6 @@ $$
let mut dec_hasher = DefaultHasher::new();
dec.to_bits().hash(&mut dec_hasher);
let hash_dec = dec_hasher.finish();
println!("小数 {} 的哈希值为 {}", dec, hash_dec);
// 小数 3.14159 的哈希值为 2566941990314602357
let str = "Hello 算法";