From OpenGL Reference
Jump to navigation Jump to search

Create a double-precision value from a pair of unsigned integers.


double packDouble2x32( uvec2 v );


v - Specifies a vector of two unsigned integers to be packed into a single double-precision result.


 packDouble2x32 packs the component of parameter v into a 64-bit value. If an IEEE-754 infinity or NaN is created, it will not signal and the resulting floating-point value is undefined. Otherwise, the bit-level representation of v is preserved. The first vector component (v[0]) specifies the 32 least significant bits of the result; the second component (v[1]) specifies the 32 most significant bits.

Version Support[edit]

packDouble2x32 4.0+

See Also[edit]



Copyright© 2011-2014 Khronos Group. This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999.