Purple
0.1
Standard Language Specification
|
Functions for dealing with numbers internally. More...
Functions | |
NumberType | token_type_to_number_type (int token_type) |
Convert a TokenType to a NumberType. More... | |
int | number_to_token_type (Number number) |
NumberType | max_numbertype_for_val (long long int value) |
Finds the maximum NumberType possible for a given value. More... | |
Functions for dealing with numbers internally.
NumberType max_numbertype_for_val | ( | long long int | value | ) |
Finds the maximum NumberType possible for a given value.
value | Value to check |
int number_to_token_type | ( | Number | number | ) |
NumberType token_type_to_number_type | ( | int | token_type | ) |
Convert a TokenType to a NumberType.
token_type | TokenType to convert |