From 88c1ea30e461092db713e58fe7521c5c43c52212 Mon Sep 17 00:00:00 2001 From: volth Date: Thu, 24 May 2018 12:48:48 +0000 Subject: add docs and tests --- doc/manual/expressions/builtins.xml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'doc') diff --git a/doc/manual/expressions/builtins.xml b/doc/manual/expressions/builtins.xml index ac1fe7e2fafe..5489fab0026a 100644 --- a/doc/manual/expressions/builtins.xml +++ b/doc/manual/expressions/builtins.xml @@ -92,6 +92,36 @@ available as builtins.derivation. + builtins.bitAnd + e1 e2 + + Return the bitwise AND of the integers + e1 and + e2. + + + + + builtins.bitOr + e1 e2 + + Return the bitwise OR of the integers + e1 and + e2. + + + + + builtins.bitXor + e1 e2 + + Return the bitwise XOR of the integers + e1 and + e2. + + + + builtins The set builtins contains all -- cgit 1.4.1