There was an error while loading. Please reload this page.
1 parent df9148b commit 366aee3Copy full SHA for 366aee3
1 file changed
tempest/math/CMath.hpp
@@ -54,6 +54,10 @@ class CMath {
54
return static_cast<uint32_t>(n + 0.99994999);
55
}
56
57
+ static uint32_t mulhwu(uint32_t x, uint32_t y) {
58
+ return (y * static_cast<uint64_t>(x)) >> 32;
59
+ }
60
+
61
static uint32_t rotl3(uint32_t v) {
62
return (v << 3) | (v >> 29);
63
0 commit comments