multiversx_chain_vm::vm_hooksTrait VMHooksBigFloat
Source pub trait VMHooksBigFloat: VMHooksHandlerSource + VMHooksError {
Show 22 methods
// Provided methods
fn bf_from_parts(
&self,
integral_part: i32,
fractional_part: i32,
exponent: i32,
) -> RawHandle { ... }
fn bf_from_frac(&self, numerator: i64, denominator: i64) -> RawHandle { ... }
fn bf_from_sci(&self, significand: i64, exponent: i64) -> RawHandle { ... }
fn bf_add(&self, dest: RawHandle, x: RawHandle, y: RawHandle) { ... }
fn bf_sub(&self, dest: RawHandle, x: RawHandle, y: RawHandle) { ... }
fn bf_mul(&self, dest: RawHandle, x: RawHandle, y: RawHandle) { ... }
fn bf_div(&self, dest: RawHandle, x: RawHandle, y: RawHandle) { ... }
fn bf_abs(&self, dest: RawHandle, x: RawHandle) { ... }
fn bf_neg(&self, dest: RawHandle, x: RawHandle) { ... }
fn bf_cmp(&self, x: RawHandle, y: RawHandle) -> i32 { ... }
fn bf_sign(&self, x: RawHandle) -> i32 { ... }
fn bf_clone(&self, dest: RawHandle, x: RawHandle) { ... }
fn bf_sqrt(&self, dest: RawHandle, x: RawHandle) { ... }
fn bf_pow(&self, dest: RawHandle, x: RawHandle, exp: i32) { ... }
fn bf_floor(&self, dest: RawHandle, x: RawHandle) { ... }
fn bf_ceil(&self, dest: RawHandle, x: RawHandle) { ... }
fn bf_trunc(&self, dest: RawHandle, x: RawHandle) { ... }
fn bf_is_bi(&self, x: RawHandle) -> bool { ... }
fn bf_set_i64(&self, dest: RawHandle, value: i64) { ... }
fn bf_set_bi(&self, dest: RawHandle, bi: RawHandle) { ... }
fn bf_get_const_pi(&self, dest: RawHandle) { ... }
fn bf_get_const_e(&self, dest: RawHandle) { ... }
}