Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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.
Read time 1 minuteLast updated 22 days ago

Definition

public static v256 mm256_round_ps(v256 a, int rounding)

Parameters

Vector a

rounding

Rounding mode

Returns

Type

Description

v256Vector

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.