issues Search Results · repo:JuliaMath/FixedPointDecimals.jl language:Julia
Filter by
34 results
(50 ms)34 results
inJuliaMath/FixedPointDecimals.jl (press backspace or delete to remove)julia typemin(FixedDecimal{Int32,4}) / -1
ERROR: OverflowError: -214748.3648 / -1 overflowed for type FixedDecimal{Int32, 4}
Stacktrace:
[1] throw_overflowerr_binaryop(op::Symbol, x::FixedDecimal{Int32, ...
mbarbar
- Opened 26 days ago
- #112
(FixedPointDecimals) pkg instantiate
Updating registry at `~/.julia/registries/General.toml`
Updating `~/repos/FixedPointDecimals.jl/Project.toml`
[c3b6d118] + BitIntegers v0.3.2
[69de0a69] ...
nickrobinson251
- 2
- Opened on Jan 31
- #107
Not sure if it is a julia issue.
- Julia nightly - ubuntu-latest - x64
128-bit conversion performance | 1 18 19 2.0s
128-bit FD to FD conversion performance | ...
performance
inkydragon
- Opened on Jan 10
- #100
julia using FixedPointDecimals
julia using Aqua
julia Aqua.test_all(FixedPointDecimals)
13 ambiguities found. To get a list, set `broken = false`.
Ambiguity #1
(::Type{T})(x::FixedPointDecimals.FixedDecimal) ...
kuszmaul
- 1
- Opened on Aug 28, 2024
- #95
Newer versions of Julia come with Base.checked_pow(::Integer, ::Integer), which needs to be extended for FDs.
This was introduced in https://github.com/JuliaLang/julia/pull/52849.
The implementation ...
enhancement
NHDaly
- Opened on May 15, 2024
- #92
FixedPointDecimals.jl should probably implement Base.big(::FixedDecimal) and Base.big(::Type{ :FixedDecimal}) since
other packages may rely on this method. For example, JuliaData/DataFrames.jl#3418 is ...
baumgold
- Opened on Jan 18, 2024
- #91
Operations like * or \ can be lossy because they can cause the number of fractional digits to exceed the precision of
the FD type, e.g.:
julia FixedDecimal{Int,2}(1.11) * FixedDecimal{Int,2}(1.11)
FixedDecimal{Int64,2}(1.23) ...
Drvi
- Opened on Jan 5, 2024
- #90
Consider:
julia @which FD{BigInt,2}(2) + 2
+(x::Number, y::Number)
@ Base promotion.jl:410
julia @code_typed FD{BigInt,2}(2) + 2
CodeInfo(
1 ─ %1 = invoke Base.GMP.MPZ.set_si(10::Int64)::BigInt ...
performance
NHDaly
- 1
- Opened on Dec 18, 2023
- #87
For example
julia using FixedPointDecimals
julia @time convert(FixedDecimal{Int,2}, Int128(1))
0.000005 seconds (7 allocations: 128 bytes)
FixedDecimal{Int64,2}(1.00)
allocates a BigInt because ...
performance
Drvi
- 1
- Opened on Nov 13, 2023
- #83
julia x = FixedDecimal{Int128, 33}(10000)
FixedDecimal{Int128,33}(10000.000000000000000000000000000000000)
julia y = FixedDecimal{Int128, 38}(0)
FixedDecimal{Int128,38}(0.00000000000000000000000000000000000000) ...
bug
mbarbar
- 3
- Opened on Nov 8, 2023
- #82

Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Press the /
key to activate the search input again and adjust your query.
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.