HELP: mask?
{ $values
{ "x" integer } { "n" integer }
- { "?" "a boolean" }
+ { "?" boolean }
}
{ $description "Returns true if all of the bits in the mask " { $snippet "n" } " are set in the integer input " { $snippet "x" } "." }
{ $examples
HELP: unmask?
{ $values
{ "x" integer } { "n" integer }
- { "?" "a boolean" }
+ { "?" boolean }
}
{ $description "Tests whether unmasking the bits in " { $snippet "x" } " would return an integer greater than zero." }
{ $examples