|
Project Euler Solutions
|
| void | BCD_int::isign_bcd (BCD_int *const x, const bool negative) |
| Change the sign of a BCD_int without relying on internals. More... | |
| void | BCD_int::iabs_bcd (BCD_int *const x) |
| Get the absolute value of a BCD_int without relying on internals. More... | |
| void | BCD_int::ineg_bcd (BCD_int *const x) |
| Get the negative absolute value of a BCD_int without relying on internals. More... | |
| void | BCD_int::iopp_bcd (BCD_int *const x) |
| Get the opposite value of a BCD_int without relying on internals. More... | |
| void | BCD_int::iadd_bcd (BCD_int *const x, const BCD_int y) |
| Add two BCD_ints and assign the result to x. More... | |
| void | BCD_int::iinc_bcd (BCD_int *const x) |
| Increment a BCD_int and assign the result to x. More... | |
| void | BCD_int::isub_bcd (BCD_int *const x, const BCD_int y) |
| Subtract two BCD_ints and assign the result to x. More... | |
| void | BCD_int::idec_bcd (BCD_int *const x) |
| Decrement a BCD_int and assign the result to x. More... | |
| void | BCD_int::imul_bcd (BCD_int *const x, const BCD_int y) |
| Multiply two BCD_ints and assign the result to x. More... | |
| void | BCD_int::idiv_bcd (BCD_int *const x, const BCD_int y) |
| Divide two BCD_ints and assign the result to x. More... | |
| void | BCD_int::imod_bcd (BCD_int *const x, const BCD_int y) |
| Modulo divide two BCD_ints and assign the result to x. More... | |
| void | BCD_int::idivmod_bcd (BCD_int *const x, BCD_int *const y) |
| Divide two BCD_ints then assign the quotient to x and remainder to y. More... | |
| void | BCD_int::ipow_bcd (BCD_int *const x, const BCD_int y) |
| Raise x to the power of y then assign the result to x. More... | |
| void | BCD_int::ifactorial_bcd (BCD_int *const x) |
| Get the factorial of x then assign the result to x. More... | |
| void iabs_bcd | ( | BCD_int *const | x | ) |
Get the absolute value of a BCD_int without relying on internals.
| [in,out] | x | The BCD_int in question |
Add two BCD_ints and assign the result to x.
| void idec_bcd | ( | BCD_int *const | x | ) |
Divide two BCD_ints and assign the result to x.
Divide two BCD_ints then assign the quotient to x and remainder to y.
| void ifactorial_bcd | ( | BCD_int *const | x | ) |
Get the factorial of x then assign the result to x.
| [in,out] | x | The BCD_int in question |

| void iinc_bcd | ( | BCD_int *const | x | ) |
Modulo divide two BCD_ints and assign the result to x.
Multiply two BCD_ints and assign the result to x.
| void ineg_bcd | ( | BCD_int *const | x | ) |
Get the negative absolute value of a BCD_int without relying on internals.
| [in,out] | x | The BCD_int in question |
| void iopp_bcd | ( | BCD_int *const | x | ) |
Get the opposite value of a BCD_int without relying on internals.
| [in,out] | x | The BCD_int in question |
Raise x to the power of y then assign the result to x.
| void isign_bcd | ( | BCD_int *const | x, |
| const bool | negative | ||
| ) |
Change the sign of a BCD_int without relying on internals.
| [in,out] | x | The BCD_int in question |
| [in] | negative | The sign you would like to apply |
Subtract two BCD_ints and assign the result to x.
1.8.11