@technobuddha > library > Binary
Arithmetic
| Name | Type | Description |
|---|---|---|
| ch | Function | SHA "choose" function: (x & y) ^ (~x & z) |
| int32 | Function | Converts a number to a 32-bit signed integer. |
| maj | Function | Computes the majority function of three numbers. |
| rotl | Function | Rotates the bits of a 32-bit number to the left by a specified number of bits. |
| rotr | Function | Rotates the bits of a 32-bit number to the right by a specified number of bits. |