mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
6 lines
147 B
TypeScript
6 lines
147 B
TypeScript
import { UINT32 } from "cuint";
|
|
|
|
const u = UINT32(1, 2);
|
|
const d = u.fromBits(4, 5, 6);
|
|
d.add(u.multiply(d)).rotl(17).subtract(u).shiftRight(123);
|