Skip to content

uint64

builtin · libnexusinterp/nexus-value/ov-proprietary.cc

: y = uint64 (x)

Return x recast as an unsigned 64-bit integer array, with range 0 to 18446744073709551615.

Non-integer values are rounded to the nearest integer, with halves rounded away from zero. Values outside the representable range saturate rather than wrapping, so negatives become 0 and values above the maximum become the upper limit. The shape of x is preserved and exactly one argument is required.