import { Long } from "https://deno.land/x/mongo@v0.32.0/deps.ts";
A class representing a 64-bit integer
Constructors
Methods
Returns this Long divided by the specified. The result is signed if this Long is signed or unsigned if this Long is unsigned.
Tests if this Long's value is greater than or equal the specified's.
Returns this Long with bits arithmetically shifted to the right by the given amount.
Returns this Long with bits logically shifted to the right by the given amount.
Converts the Long to a the nearest floating-point representation of this value (double, 53 bit mantissa).
Static Methods
Returns a Long representing the given value, provided that it is a finite number. Otherwise, zero is returned.
Returns a Long representing the 64 bit integer that comes by concatenating the given low and high bits. Each is assumed to use 32 bits.
Creates a Long from its big endian byte representation.
Creates a Long from its little endian byte representation.
Returns a Long representing the given value, provided that it is a finite number. Otherwise, zero is returned.
Returns a Long representation of the given string, written using the specified radix.