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

Split Fraction constructors #3919

Merged
merged 3 commits into from
Jan 27, 2025

Conversation

brdvd
Copy link
Contributor

@brdvd brdvd commented Jan 25, 2025

This PR adds a simplified Fraction(int) constructor setting the denominator to 1. In this case we don't have to reduce the fraction and don't need to check for zero denominator.

@lpugin lpugin merged commit 4adb291 into rism-digital:develop Jan 27, 2025
5 checks passed
@brdvd brdvd deleted the feat/fraction-constructors branch January 27, 2025 08:51
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

Successfully merging this pull request may close these issues.

4 participants