[−][src]Function solana_rbpf::helpers::sqrti
pub fn sqrti(
arg1: u64,
unused2: u64,
unused3: u64,
unused4: u64,
unused5: u64
) -> u64
Compute and return the square root of argument 1, cast as a float. Arguments 2 to 5 are unused.
Examples
use solana_rbpf::helpers; let x = helpers::sqrti(9, 0, 0, 0, 0); assert_eq!(x, 3);