docs.unity.cn
    Show / Hide Table of Contents

    Method vcvts_f32_s32

    vcvts_f32_s32(Int32)

    Signed fixed-point Convert to Floating-point (vector). This instruction converts each element in a vector from fixed-point to floating-point using the rounding mode that is specified by the FPCR, 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: SCVTF Sd,Sn

    Declaration
    public static float vcvts_f32_s32(int a0)
    Parameters
    Type Name Description
    Int32 a0

    Int32 a0

    Returns
    Type Description
    Single

    Single

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Tuesday, August 23, 2022
    Terms of use