This class provides abstract creation functions for NUMBERs as well as
some other useful tools for NUMBERs.
Because this class is expanded, one may simply declare some entity of
type NUMBER_TOOLS to use those NUMBER tools. One may also inherit this
class in order to use those tools as well.
Is the formula a correct notation to create a NUMBER ?
Actually, any correct formula using a combination of literal
integer constants with + - * / () and ! is a correct notation to
create a NUMBER.
This once function gives access to the unique parser_buffer to
allow the memorization of the Current position and the
memorization of the last error message.
Is the formula a correct notation to create a NUMBER ?
Actually, any correct formula using a combination of literal
integer constants with + - * / () and ! is a correct notation to
create a NUMBER.
Traditional priority rules are used for
operators and the ! character denote the factorial computation.
Here is the BNF grammar used:
This once function gives access to the unique parser_buffer to
allow the memorization of the Current position and the
memorization of the last error message.