Standard include file
std.ninc file is included at the beginning of every compiled
NoASM program. It contains no instructions, thus is doesn't generate any
code to output file. It defines many useful macros with constants.
AR, BR, CR,
DR, AX, AY, ..., AA,
AB, ..., A1, A2 etc.
| Name | Value |
|---|---|
M_E | e |
M_LOG2E | log2(e) |
M_LOG10E | log10(e) |
M_LN2 | ln(2) |
M_LN10 | ln(10) |
M_PI | pi |
M_PI_2 | pi/2 |
M_PI_4 | pi/4 |
M_1_PI | 1/pi |
M_2_PI | 2/pi |
M_2_SQRTPI | 2/sqrt(pi) |
M_SQRT2 | sqrt(2) |
M_SQRT1_2 | 1/sqrt(2) |
NULL - this is a [4i] value that should be used
as empty address - memory address that points to nothing.
| Name | Value |
|---|---|
MIN_1i | Minimum of [1i] |
MAX_1i | Maximum of [1i] |
MAX_1u | Maximum of [1u] |
MIN_2i | Minimum of [2i] |
MAX_2i | Maximum of [2i] |
MAX_2u | Maximum of [2u] |
MIN_4i | Minimum of [4i] |
MAX_4i | Maximum of [4i] |
MAX_4u | Maximum of [4u] |
MIN_8i | Minimum of [8i] |
MAX_8i | Maximum of [8i] |
MAX_8u | Maximum of [8u] |