Realm

oa::crypto::bigint::to_u32

Compute public-data to_u32 on unsigned device limb rows. Operands are public rank-two U32 rows of little-endian limbs, with 1..=128 words (32..=4096 bits). Records device work without host reads or a host wait. This public-data route does not accept cryptographic secrets and makes no constant-time or performance claim. Returns (output, status); 1 means exact conversion, 0 means overflow with zero output. U64 values use two little-endian U32 words per row, without shaderInt64. Errors Rejects rank, dtype, shape, ownership, address limits, allocation or recording failures.

FnRust public API

Function Documentation

pub fn to_u32(left: &Matrix) -> Result<( Matrix, Matrix )>
Compute public-data to_u32 on unsigned device limb rows. Operands are public rank-two U32 rows of little-endian limbs, with 1..=128 words (32..=4096 bits). Records device work without host reads or a host wait. This public-data route does not accept cryptographic secrets and makes no constant-time or performance claim. Returns (output, status); 1 means exact conversion, 0 means overflow with zero output. U64 values use two little-endian U32 words per row, without shaderInt64. Errors Rejects rank, dtype, shape, ownership, address limits, allocation or recording failures.