bitwise.snot() function
The bitwise.snot()
function is experimental and subject to change at any time.
By using this function, you accept the risks of experimental functions.
bitwise.snot()
inverts every bit in a
, an
integer value.
import "experimental/bitwise"
bitwise.snot(a: 12)
// Returns -13
Parameters
a
Integer to invert.
Was this page helpful?
Thank you for your feedback!
Support and feedback
Thank you for being part of our community! We welcome and encourage your feedback and bug reports for Flux and this documentation. To find support, use the following resources:
InfluxDB Cloud customers can contact InfluxData Support.