logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

packDouble2x32 - create a double-precision value from a pair of unsigned integers

Declaration

doublepackDouble2x32(uvec2v);

Description

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.

Name

       packDouble2x32 - create a double-precision value from a pair of unsigned integers

Parameters

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

See Also

unpackDouble2x32()

Version Support

       ┌────────────────┬───────────────────────────────────────────────────────────────────────────────────┐
       │                │        OpenGLShadingLanguageVersion                                            │
       ├────────────────┼──────┬──────┬──────┬──────┬──────┬──────┬──────┬──────┬──────┬──────┬──────┬──────┤
       │ Function1.101.201.301.401.503.304.004.104.204.304.404.50 │
       │ Name           │      │      │      │      │      │      │      │      │      │      │      │      │
       ├────────────────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┤
       │ packDouble2x32 │  -   │  -   │  -   │  -   │  -   │  -   │  ✔   │  ✔   │  ✔   │  ✔   │  ✔   │  ✔   │
       └────────────────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┘

See Also