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

Divide: implementation + dectest #84

Merged
merged 1 commit into from
Nov 4, 2024
Merged

Conversation

barucden
Copy link
Collaborator

@barucden barucden commented Nov 3, 2024

Fixes #56

We now have:

julia> Decimal(10)^30 / Decimal(2)^100
0.7888609052210118054117285655

In Python:

>>> Decimal(10)**30 / Decimal(2)**100
Decimal('0.7888609052210118054117285655')

Copy link

codecov bot commented Nov 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.68%. Comparing base (5cd504f) to head (2f1ec58).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #84      +/-   ##
==========================================
+ Coverage   99.66%   99.68%   +0.01%     
==========================================
  Files          11       11              
  Lines         303      319      +16     
==========================================
+ Hits          302      318      +16     
  Misses          1        1              

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

Fixes JuliaMath#56

We now have:
```julia
julia> Decimal(10)^30 / Decimal(2)^100
0.7888609052210118054117285655
```

In Python:
```
>>> Decimal(10)**30 / Decimal(2)**100
Decimal('0.7888609052210118054117285655')
```
@barucden barucden merged commit 514bf8a into JuliaMath:master Nov 4, 2024
7 checks passed
@barucden barucden deleted the divide branch November 4, 2024 12:55
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.

Incorrect division of large numbers
1 participant