Gretest common divisor (GRC) | Lists the GRC and the result of dividing each value by GRC |
Least common multiple (LCM) | Lists the LCM and the result of dividing each value into LCM |
Prime factors | List all primefactors for each number |
Word size | List number of steps, precision, range, and some other stuff |
Gray codes | List a gray code table (up to 9 digits), or the formula for calculating the gray codes (10+ digits) |
Bit size | List minimum number of bits required to represent each number |
Real to Mult/Div | Find a fraction to substitute for the real number, will also specify value limits in different word sizes |
Real to Mult/Div with x/2^n | Find a fraction to substitute for the real number, but limits the denominator to powers of 2, will also specify value limits in different word sizes |
Real to Mult/Div with 2^n/x | Find a fraction to substitute for the real number, but limits the numerator to powers of 2, will also specify value limits in different word sizes |
Real to Mult/Div with x/2^wordsize | Find a fraction to substitute for the real number, but limits the denominator to wordsize. This function used the fact that most multiply instructions returnes a result with twice the wordsize, making a division with wordsize free (i.e. just use the lsb) |