--- layout: stdlib-reference --- # asuint ## Description Reinterpret bits of double as a uint. ## Signature
void asuint(
    double value,
    out uint lowbits,
    out uint highbits);

uint asuint(float x);

uint asuint(int x);

vector<uint, N> asuint<int N>(vector<float, N> x);

vector<uint, N> asuint<int N>(vector<int, N> x);

matrix<uint, N, M> asuint<int N, int M>(matrix<float, N, M> x);

matrix<uint, N, M> asuint<int N, int M>(matrix<int, N, M> x);

uint asuint(uint x);

vector<uint, N> asuint<int N>(vector<uint, N> x);

matrix<uint, N, M> asuint<int N, int M>(matrix<uint, N, M> x);

## Generic Parameters #### N : int #### M : int ## Parameters #### value : double #### lowbits : uint #### highbits : uint #### x : float #### x : int #### x : [vector](../types/vector/index.html)\ #### x : [vector](../types/vector/index.html)\ #### x : [matrix](../types/matrix/index.html)\ #### x : [matrix](../types/matrix/index.html)\ #### x : uint #### x : [vector](../types/vector/index.html)\ #### x : [matrix](../types/matrix/index.html)\ ## Availability and Requirements Defined for the following targets: #### hlsl Available in all stages. #### glsl Available in all stages. #### cpp Available in all stages. #### cuda Available in all stages. #### spirv Available in all stages.