Number

Number

new Number()

Description:
  • Implements a macroscopic ersatz of a VSA positive integer.

    • It is implemented via successive Binding, without using a C++ std::list.

Methods

(static) getInt(value) → {Symbol}

Description:
  • Returns the Symbol corresponding to a given positive integer.

    • Here, instead of the usual iterative binding solution, we cheat by using string representation of numbers.
    • Therefore we do not have the s_{n+p} = B_{s_0}^p s_n recurrence property for a symbol s_n representing n.
Parameters:
Name Type Description
value uint

The symbol numeric value. Reasonnable value is between 0 and about 1000.

Returns:

A reference to the corresponding value.

Type
Symbol