High-precision positive integer degree polynomial calculator
Find a file
2024-09-28 21:57:27 +08:00
Expression.cpp Add source codes 2024-09-28 21:49:26 +08:00
Expression.hpp Add source codes 2024-09-28 21:49:26 +08:00
FixedFloat.cpp fix a bug 2024-09-28 21:57:27 +08:00
FixedFloat.hpp Add source codes 2024-09-28 21:49:26 +08:00
LICENSE Initial commit 2024-09-28 21:36:51 +08:00
main.cpp Add source codes 2024-09-28 21:49:26 +08:00
README.md Update README.md 2024-09-28 21:48:06 +08:00

polynomial-calculator

High-precision positive integer degree polynomial calculator.

It can be used to calculate the value of one-variable integer degree polynomial, e.g. the value of 3/7x^2-1/3x+2 when x = 1.4 with high precision.

It can also be used to change the base and precision among different high-precision number, e.g. 523.43 in decimal to 20B.6E1... in hexadecimal when int_digit_len is set to 20 and dec_digit_len is set to 200.

Use the command below to compile the project:

g++ main.cpp FixedFloat.cpp Expression.cpp -o main

And run it by the command below:

./main