Skip to main content

__msa_ftrunc_s_d

Function __msa_ftrunc_s_d 

Source
pub unsafe fn __msa_ftrunc_s_d(a: v2f64) -> v2i64
🔬This is a nightly-only experimental API. (stdarch_mips #111198)
Available on MIPS-64 and target feature msa and (MIPS or MIPS-64) only.
Expand description

Vector Floating-Point Truncate and Convert to Signed Integer

The elements in vector a (two 64-bit floating point numbers) are truncated, i.e. rounded toward zero, to signed integer values. The result is written to vector (two signed 64-bit integer numbers).