Skip to Main Content
Table 1. 

ulam primitive types, available in all bit widths from k = 1 to the default of 32, except that Bool defaults to 1 bit, and rounds down to odd widths to avoid ties.

ulam typeInterpretationOperators
Unary(kBase 1 (population count) − + ∗ / == != < > <= >= 
Unsigned(kBase 2 − + ∗ / == != < > <= >= 
Int(kTwo's complement − + ∗ / == != < > <= >= 
Bool(kBoolean (unary majority) ! == != && || 
Bits(kUninterpreted bit values == != << >> & | ˆ 
ulam typeInterpretationOperators
Unary(kBase 1 (population count) − + ∗ / == != < > <= >= 
Unsigned(kBase 2 − + ∗ / == != < > <= >= 
Int(kTwo's complement − + ∗ / == != < > <= >= 
Bool(kBoolean (unary majority) ! == != && || 
Bits(kUninterpreted bit values == != << >> & | ˆ 
Close Modal

or Create an Account

Close Modal
Close Modal