1 <?xml version=
"1.0" encoding=
"UTF-8"?>
2 <!DOCTYPE book PUBLIC
"-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
3 "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
4 <refentry id=
"packDouble2x32">
9 <holder>Khronos Group
</holder>
12 <refentrytitle>packDouble2x32
</refentrytitle>
13 <manvolnum>3G
</manvolnum>
16 <refname>packDouble2x32
</refname>
17 <refpurpose>create a double-precision value from a pair of unsigned integers
</refpurpose>
19 <refsynopsisdiv><title>Declaration
</title>
22 <funcdef>double
<function>packDouble2x32
</function></funcdef>
23 <paramdef>uvec2
<parameter>v
</parameter></paramdef>
27 <refsect1 id=
"parameters"><title>Parameters
</title>
30 <term><parameter>v
</parameter></term>
33 Specifies a vector of two unsigned integers to be packed into a single double-precision result.
39 <refsect1 id=
"description"><title>Description
</title>
41 <function>packDouble2x32
</function> packs the component of parameter
<parameter>v
</parameter> into a
64-bit
42 value. If an IEEE-
754 infinity or NaN is created, it will not signal and the resulting floating-point value
43 is undefined. Otherwise, the bit-level representation of
<parameter>v
</parameter> is preserved. The first
44 vector component (
<code>v[
0]
</code>) specifies the
32 least significant bits of the result; the second
45 component (
<code>v[
1]
</code>) specifies the
32 most significant bits.
48 <refsect1 id=
"versions"><title>Version Support
</title>
49 <informaltable frame=
"topbot">
54 <entry>packDouble2x32
</entry>#newin40#
60 <refsect1 id=
"seealso"><title>See Also
</title>
62 <citerefentry><refentrytitle>unpackDouble2x32
</refentrytitle></citerefentry>
65 <refsect1 id=
"Copyright"><title>Copyright
</title>
67 Copyright
<trademark class=
"copyright"></trademark> 2011 Khronos Group.
68 This material may be distributed subject to the terms and conditions set forth in
69 the Open Publication License, v
1.0,
8 June
1999.
70 <ulink url=
"http://opencontent.org/openpub/">http://opencontent.org/openpub/
</ulink>.