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

feat: implement fractional numbers and serialization tests #47

Merged
merged 4 commits into from
Jun 16, 2024

Conversation

kayagokalp
Copy link
Owner

@kayagokalp kayagokalp commented Jun 15, 2024

This PR adds fracitonal number is the form of numerator / 2^(frac_power). This is not used during saturation right now but will be in the upcoming PRs. Also adds couple of tests. Now we have %100 line coverage in numbers.rs module.

image

@kayagokalp kayagokalp added enhancement New feature or request testing Everything to do with testing labels Jun 15, 2024
@kayagokalp kayagokalp self-assigned this Jun 15, 2024
@kayagokalp kayagokalp force-pushed the kayagokalp/fractional branch from 44cba98 to fd29e7f Compare June 15, 2024 21:38
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 34.25%. Comparing base (d62a318) to head (fd29e7f).

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #47      +/-   ##
==========================================
+ Coverage   28.33%   34.25%   +5.92%     
==========================================
  Files          20       20              
  Lines        1426     1524      +98     
==========================================
+ Hits          404      522     +118     
+ Misses       1022     1002      -20     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@kayagokalp
Copy link
Owner Author

related to #45

@kayagokalp kayagokalp force-pushed the kayagokalp/fractional branch from fd29e7f to acc9dd5 Compare June 16, 2024 05:30
@kayagokalp kayagokalp merged commit 91e4f08 into master Jun 16, 2024
7 checks passed
@kayagokalp kayagokalp deleted the kayagokalp/fractional branch June 16, 2024 05:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request testing Everything to do with testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants