INT512
512-bit signed integer for overflow-safe intermediates and signed deltas. Stored as raw two's-complement bytes; use explicit narrowing casts only when the result is known to fit.
Used by functions
Derived from generated function parameters and return types.
Accepted as input
- length
Returns the number of bytes in a BLOB or BLOB-backed EVM value such as ADDRESS, BYTES32, UINT256, or INT256.
scalar function Offline 1 overload - sort_key
Converts INT256/INT512/UINT256/UINT512 to a sortable BLOB for use in ORDER BY. Necessary because Determica's default BLOB ordering doesn't handle signed integers correctly. Use sort_key only inside ORDER BY or comparison-key workflows; it is not a human-readable number conversion, hash, or portable serialization.
scalar function Offline 1 overload