This website works better with JavaScript.
Home
Explore
Help
Sign In
madscientist
/
CodeDweller
Watch
1
Star
0
Fork
0
Code
Issues
2
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
no need to strip accumulator twice
master
madscientist
5 years ago
parent
57459a5d9a
commit
06348b8104
1 changed files
with
1 additions
and
1 deletions
Split View
Show Diff Stats
1
1
mishmash.cpp
+ 1
- 1
mishmash.cpp
View File
@@ -57,7 +57,7 @@ namespace codedweller {
accumulator += accumulator >> 32;
accumulator &= 0x00000fffffffffff;
}
return
accumulator & 0x00000000ffffffff
;
return
static_cast<uint32_t>(accumulator)
;
}
uint32_t mishmash(const std::string& s) noexcept {
Write
Preview
Loading…
Cancel
Save