Releases: JuliaMath/FixedPointDecimals.jl
Releases · JuliaMath/FixedPointDecimals.jl
v0.6.5
FixedPointDecimals v0.6.5
- Significant performance improvement for multiply operation (remove the hardware division), and remove BigInt allocations from
*for FixedDecimal{Int128}. #94
Merged pull requests:
- Finish removing the BigInts from * for FD{Int128}! (#94) (@NHDaly)
- Bump actions/checkout from 4 to 5 (#122) (@dependabot[bot])
- Bump actions/checkout from 5 to 6 (#124) (@dependabot[bot])
- Bump julia-actions/cache from 2 to 3 (#125) (@dependabot[bot])
Closed issues:
- Julia v1.12 warning: type "Bool" was extended without explicit qualification or import. (#119)
v0.4.2
FixedPointDecimals v0.4.2
This release has been identified as a backport.
Automated changelogs for backports tend to be wildly incorrect.
Therefore, the list of issues and pull requests is hidden.
v0.4.1
FixedPointDecimals v0.4.1
This release has been identified as a backport.
Automated changelogs for backports tend to be wildly incorrect.
Therefore, the list of issues and pull requests is hidden.
v0.6.4
FixedPointDecimals v0.6.4
Merged pull requests:
- Explicitly qualify Base.Bool constructor (#121) (@rossviljoen)
- Use
OncePerTaskinstead of a handmade thread local cache (#123) (@Drvi)
Closed issues:
- UndefVarError with Julia v1.12 (#120)
v0.6.3
FixedPointDecimals v0.6.3
New Library functions
-
FixedPointDecimals.floor_with_overflow(x::FD)::Tuple{FD,Bool} -
FixedPointDecimals.ceil_with_overflow(x::FD)::Tuple{FD,Bool} -
FixedPointDecimals.round_with_overflow(x::FD, [rounding_mode])::Tuple{FD,Bool}
Merged pull requests:
v0.6.2
FixedPointDecimals v0.6.2
New Library Functions
fld_with_overflow(x::FD, y::FD)::Tuple{FD,Bool}: Likefld, but returns true on overflowrdiv_with_overflow(x::FD, y::FD)::Tuple{FD,Bool}: Like/, but returns true on overflow
Merged pull requests:
v0.6.1
FixedPointDecimals v0.6.1
Merged pull requests:
- Fix world age warnings from accessing binding before definiton (#108) (@nickrobinson251)
Closed issues:
- Warnings in Julia v1.12.0-DEV
Detected access to binding in a world prior to its definition world(#107)
v0.6.0
FixedPointDecimals v0.6.0
Breaking Changes
- The checked operations
Base.Checked.add_with_overflow,mul_with_overflow, etc no longer promote their arguments.- This is because overflow may occur during promotion and conversion itself.
- So you are expected to handle promotion on your own (where you can also check for overflow before converting), and then you can call these checked operators.
- If you were relying on this type of operation before, it is no longer defined, and you will get a MethodError:
Base.Checked.add_with_overflow(FixedDecimal{Int8,2}(0.0), 1) - This is to avoid the following scenario:
julia> Base.Checked.add_with_overflow(FixedDecimal{Int8,2}(0.0), 2) ERROR: InexactError: convert(FixedDecimal{Int8, 2}, 2)
Merged pull requests:
v0.5.6
FixedPointDecimals v0.5.6
Merged pull requests:
v0.5.5
FixedPointDecimals v0.5.5
Merged pull requests: