Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


asulong

Returns the bit pattern of a long as a ulong.
Read time 1 minuteLast updated 12 days ago

Definition

asulong(long)

Returns the bit pattern of a long as a ulong.
public static ulong asulong(long x)

Parameters

The long bits to copy.

Returns

Type

Description

ulongThe ulong with the same bit pattern as the input.

asulong(double)

Returns the bit pattern of a double as a ulong.
public static ulong asulong(double x)

Parameters

The double bits to copy.

Returns

Type

Description

ulongThe ulong with the same bit pattern as the input.