Utility Functions
The utility functions encompass any other useful functions not categorized as math or strings.
-
flag(x, index): Read one bit as true or false from a bit flag valuex. Theindexis 0-based. If value is instead an array, flag will reinterpret the array element at index as a boolean. -
md5(x): Calculates the MD5 hash of stringx.
Examples
# The following lines are equivalent
flag(register70, 3)
(register70 & (1 << index)) != 0