struct BigInt

Overview

A BigInt can represent arbitrarily large integers.

It is implemented under the hood with GMP.

NOTE To use BigInt, you must explicitly import it with require "big"

Included Modules

Defined in:

ext/int.cr

Instance Method Summary

Instance methods inherited from struct Int

rotate_left(n) rotate_left, rotate_right(n) rotate_right

Instance Method Detail

def rotate_left(n) #

[View source]
def rotate_right(n) #

[View source]