Activity for Marcello Vichi

  • Marcello Vichi Marcello Vichi posted a comment on discussion Open Discussion

    good day. Is it possible to use bitwise operators (&) with ncap2? it is not in the list of available operators, only the logical && is. I need to selct an array based on a status flag with the flag_mask attribute, which means comparing the flag bitwise: https://cfconventions.org/cf-conventions/cf-conventions.html#flag-variable-flag-values-ex it is a simple operation with C, like x & 2**n != 0 to check if bit n is set in variable x, and I wonder if this can be implemented somehow in ncap2 Thanks in...

1
MongoDB Logo MongoDB