bitwise.unot() function

The bitwise.unot() function is experimental and subject to change at any time. By using this function, you accept the risks of experimental functions.

bitwise.unot() inverts every bit in a, an unsigned integer value.

import "experimental/bitwise"

bitwise.unot(a: uint(v: 12))

// Returns 18446744073709551603 (uint)



Unsigned integer to invert.

Was this page helpful?

Thank you for your feedback!

Upgrade to InfluxDB Cloud or InfluxDB 2.0!

InfluxDB Cloud and InfluxDB OSS 2.0 ready for production.