Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


vcvtah_u32_f16(f16)

Floating-point Convert to Unsigned integer, rounding to nearest with ties to Away (vector). This instruction converts each element in a vector from a floating-point value to an unsigned integer value using the Round to Nearest with Ties to Away rounding mode and writes the result to the SIMD&FP destination register.A floating-point exception can be generated by this instruction. Depending on the settings in FPCR, the exception results in either a flag being set in FPSR, or a synchronous exception being generated. For more information, see Floating-point exception traps.Depending on the settings in the CPACR_EL1, CPTR_EL2, and CPTR_EL3 registers, and the current Security state and Exception level, an attempt to execute the instruction might be trapped. Equivalent instruction: FCVTAU Hd,Hn
Read time 1 minuteLast updated 22 days ago

Definition

public static uint vcvtah_u32_f16(f16 a0)

Parameters

a0

f16 a0

Returns

Type

Description

uintUInt32