This commit is contained in:
krahets
2024-01-28 22:31:08 +08:00
parent 545e15bc81
commit 84520801e2
19 changed files with 5579 additions and 57 deletions

View File

@ -841,7 +841,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 算法";