Method vcvts_s32_f32
vcvts_s32_f32(float)
Floating-point Convert to Signed fixed-point, rounding toward Zero (vector). This instruction converts a scalar or each element in a vector from floating-point to fixed-point signed integer using the Round towards Zero rounding mode, and writes the result to the SIMD&FP destination register.A floating-point exception can be generated by this instruction. Depending on the settings in FPCR, the exception results in either a flag being set in FPSR, or a synchronous exception being generated. For more information, see Floating-point exception traps.Depending on the settings in the CPACR_EL1, CPTR_EL2, and CPTR_EL3 registers, and the Security state and Exception level in which the instruction is executed, an attempt to execute the instruction might be trapped.
Equivalent instruction: FCVTZS Sd,Sn
Declaration
public static int vcvts_s32_f32(float a0)
Parameters
Type | Name | Description |
---|---|---|
float | a0 | Single a0 |
Returns
Type | Description |
---|---|
int | Int32 |