This site describes solve-engine as it is on main: 2.43.0, which npm does not have yet. npm installs 2.40.0, so a page may show an answer that version does not give yet.
bigIntValue
function bigIntValue(n): Value;Defined in: packages/engine/src/vm/Value.ts:1219
Create a BigInt-typed Value (arbitrary-precision integer).
Charged on birth by its byte size, so a doubling chain like b(n) = n * n
nested deep trips the allocation budget (the running tally accumulates each
product) rather than building a multi-megabyte integer. The ^ and <<
operators refuse past their own bit ceiling before they reach here; multiply,
which has no such ceiling, is bounded by this charge.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
n | bigint |