docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method mm256_round_ps

    mm256_round_ps(v256, int)

    Round the packed single-precision (32-bit) floating-point elements in a using the rounding parameter, and store the results as packed single-precision floating-point elements in dst.

    Declaration
    public static v256 mm256_round_ps(v256 a, int rounding)
    Parameters
    Type Name Description
    v256 a

    Vector a

    int rounding

    Rounding mode

    Returns
    Type Description
    v256

    Vector

    Remarks

    **** VROUNDPS ymm1,ymm2/v256,imm8 Round the four single-precision floating-point values values in the source operand by the rounding mode specified in the immediate operand and place the result in the destination. The rounding process rounds the input to an integral value and returns the result as a double-precision floating-point value. The Precision Floating Point Exception is signaled according to the immediate operand. If any source operand is an SNaN then it will be converted to a QNaN.

    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)