Commit 2eb9378
committed
Fix Base.cld() for FixedDecimals.
Before:
```julia
julia> let FD2 = FixedDecimal{Int,2}
cld(FD2(0.01), FD2(2))
end
FixedDecimal{Int64,2}(0.00)
```
After:
```julia
julia> let FD2 = FixedDecimal{Int,2}
cld(FD2(0.01), FD2(2))
end
FixedDecimal{Int64,2}(1.00)
```1 parent 85ee62e commit 2eb9378
2 files changed
+7
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
300 | 300 | | |
301 | 301 | | |
302 | 302 | | |
303 | | - | |
| 303 | + | |
304 | 304 | | |
305 | 305 | | |
306 | | - | |
| 306 | + | |
307 | 307 | | |
308 | 308 | | |
| 309 | + | |
| 310 | + | |
309 | 311 | | |
310 | 312 | | |
311 | 313 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
545 | 545 | | |
546 | 546 | | |
547 | 547 | | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
548 | 551 | | |
549 | 552 | | |
550 | 553 | | |
| |||
0 commit comments