Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


cvtps_ph(v128, int)

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:
Read time 1 minuteLast updated 23 days ago

Definition

public static v128 cvtps_ph(v128 a, int rounding)

Parameters

Vector a

rounding

Rounding mode

Returns

Type

Description

v128Vector

Remarks

____ cvtps2ph xmm, xmm, imm