stl.comp_flip_ifΒΆ
if expr != 0 (compilation time), flip the given bit.
expr is a constant, and bit is a general bit-address.
SignatureΒΆ
def comp_flip_if bit, expr { ... }
Defined in runlib.fj β lines 125β127 (view on GitHub).
ComplexityΒΆ
Time:
1Space:
1
See the complexity glossary for what @, w, dw, dbit, n mean.
SourceΒΆ
Click to view the macro body
def comp_flip_if bit, expr {
(expr ? bit : 0);
}
β Previous: stl.comp_if1
Next: stl.skip β