--- layout: stdlib-reference --- # packHalf2x16 ## Description Convert a 2-component vector of IEEE-754 binary16 single/half-precision floating-point values to two 16-bit integer values, then pack these 16-bit values into a 32-bit unsigned integer. ## Signature
uint packHalf2x16(vector<float, 2> unpackedValue); uint packHalf2x16(vector<half, 2> unpackedValue);## Parameters #### unpackedValue : [vector](../types/vector/index.html)\