xdmp:not64( $x as xs:unsignedLong ) as xs:unsignedLong
NOT a 64-bit integer value.
xdmp:not64(255) => 18446744073709551360