Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


aslong

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

Definition

aslong(ulong)

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

Parameters

The ulong bits to copy.

Returns

Type

Description

longThe long with the same bit pattern as the input.

aslong(double)

Returns the bit pattern of a double as a long.
public static long aslong(double x)

Parameters

The double bits to copy.

Returns

Type

Description

longThe long with the same bit pattern as the input.