Skip to main content
Module

x/typed_numeric/mod.ts>Int32

Typed numeric for Deno.
Latest
class Int32
extends Numeric<Int32, bigint>
import { Int32 } from "https://deno.land/x/typed_numeric@0.5.0/mod.ts";

Constructors

new
Int32(value?: bigint)

Methods

add(value: Int32): Int32
and(value: Int32): Int32
div(value: Int32): Int32
exp(value: Int32): Int32
logicalLeft(n: bigint): Int32
logicalRight(n: bigint): Int32
mul(value: Int32): Int32
or(value: Int32): Int32
rem(value: Int32): Int32
rotateLeft(n: bigint): Int32
rotateRight(n: bigint): Int32
sub(value: Int32): Int32
toBeBytes(): Uint8Array
toLeBytes(): Uint8Array
value(): bigint
xor(value: Int32): Int32

Static Methods

fromBeBytes(bytes: Uint8Array): Int32
fromLeBytes(bytes: Uint8Array): Int32
max(): bigint
min(): bigint