Skip to content
Vurdalakov edited this page May 9, 2017 · 2 revisions
Overview

bigint command-line tool performs operations with big integers (more than 64 bit ones).

It is based on the System.Numerics.BigInteger class.

Syntax
bigint <command> <big integer>
  • fromhex command converts hex string to big integer. 0x and &H prefixes are allowed but not necessary.

  • tohex command converts big integer to hex string. Neither 0x nor &H prefixes are added.

Examples
bigint tohex 14989625143250266164
0D005D8A63BB22834

bigint tohex -3457118930459285452
0D005D8A63BB22834

bigint fromhex 0D005D8A63BB22834
14989625143250266164

bigint fromhex D005D8A63BB22834
-3457118930459285452

Clone this wiki locally