Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rational numbers representation #1

Open
varsill opened this issue Sep 4, 2019 · 1 comment
Open

Rational numbers representation #1

varsill opened this issue Sep 4, 2019 · 1 comment
Assignees

Comments

@varsill
Copy link
Owner

varsill commented Sep 4, 2019

There is a need to implement a representation of rational numbers as a ratio of two integer numbers. All basic operations, which include addition, substraction, multiplication and division should also be implemented. The implementation will be used in extended polynomial euclidean algorithm for polynomials with rational coefficients insted of floating-point numbers representation which is error-prone due to the danger of floating-point number overflow.

@varsill varsill self-assigned this Sep 6, 2019
@varsill
Copy link
Owner Author

varsill commented Sep 6, 2019

Rational numbers representation has been added in last commit.
There is still a need to rewrite polynomials code in order to have polynomials' coefficients represented as rational numbers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant