Version: Unity 6.6 Alpha (6000.6)
LanguageEnglish
  • C#

X86.Avx.mm256_round_ps

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Declaration

public static v256 mm256_round_ps(v256 a, int rounding);

Parameters

Parameter Description
a Vector a
rounding Rounding mode

Returns

v256 Vector

Description

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.

____ 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.