cairo_native_runtime

Function cairo_native__libfunc__ec__ec_state_try_finalize_nz

Source
#[no_mangle]
pub unsafe extern "C" fn cairo_native__libfunc__ec__ec_state_try_finalize_nz(
    point_ptr: &mut [[u8; 32]; 2],
    state_ptr: &[[u8; 32]; 4],
) -> bool
Expand description

Compute ec_state_try_finalize_nz(state) and store the result.

§Panics

This function will panic if either operand is out of range for a felt.

§Safety

This function is intended to be called from MLIR, deals with pointers, and is therefore definitely unsafe to use manually.