docs.unity.cn
    Show / Hide Table of Contents

    Method cvtps_ph

    cvtps_ph(v128, Int32)

    Convert packed single-precision (32-bit) floating-point elements in a to packed half-precision (16-bit) floating-point elements, and store the results in dst.

    Rounding is done according to the rounding parameter, which can be one of:

    Declaration
    public static v128 cvtps_ph(v128 a, int rounding)
    Parameters
    Type Name Description
    v128 a

    Vector a

    Int32 rounding

    Rounding mode

    Returns
    Type Description
    v128

    Vector

    Remarks

    **** cvtps2ph xmm, xmm, imm

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Thursday, June 9, 2022
    Terms of use