fix bitwise.and and add tests (#19)

Signed-off-by: eric-therond <eric.therond.fr@gmail.com>
This commit is contained in:
eric-therond
2023-06-22 20:27:58 +02:00
committed by GitHub
parent 910ef32ffb
commit e08d13df53
7 changed files with 329 additions and 1 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ use anyhow::Result;
pub fn register(m: &mut HashMap<&'static str, builtins::BuiltinFcn>) {
m.insert("bits.and", and);
m.insert("bits.and", lsh);
m.insert("bits.lsh", lsh);
m.insert("bits.negate", negate);
m.insert("bits.or", or);
m.insert("bits.rsh", rsh);