docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method vcvtnd_u64_f64

    vcvtnd_u64_f64(double)

    Floating-point Convert to Unsigned integer, rounding to nearest with ties to even (vector). This instruction converts a scalar or each element in a vector from a floating-point value to an unsigned integer value using the Round to Nearest 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: FCVTNU Dd,Dn

    Declaration
    public static ulong vcvtnd_u64_f64(double a0)
    Parameters
    Type Name Description
    double a0

    Double a0

    Returns
    Type Description
    ulong

    UInt64

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)