FixedPointNumbers.jl icon indicating copy to clipboard operation
FixedPointNumbers.jl copied to clipboard

fixed point types for julia

Results 27 FixedPointNumbers.jl issues
Sort by recently updated
recently updated
newest added

Bumps [julia-actions/cache](https://github.com/julia-actions/cache) from 1 to 2. Release notes Sourced from julia-actions/cache's releases. v2.0.0 Breaking Changes ⚠️ v2.0.0 requires node20. This is a breaking change, because node20 does not support the...

dependencies

Backporting (PR #293) is largely complete. Division `/` is inconsistent, but this is due to the existing implementation. (It should be improved in v0.9. #222) I will now check on...

I've been using SystemC for modelling systems with fixed-point arithmetics for a while. It focuses on describing hardware systems with C++ language and it's been pretty mature, with an IEEE...

enhancement
add-on

Sorry if this is naive, but would it be possible to support fixed point representations of non-standard integer sizes? It looks like it would be a simple thing to fix:...

enhancement
add-on

### To be backported - [x] `NotBiggerThanInt64`, `nbitsint`, `showtype` (`#189`) - [x] #205 - [x] #208 - [x] `widen1(T::Type)`, tests (`#207`) - [x] #206 - Needs #278 - [x] (partial)...

needs comments

This is in preparation for improved overflow handling. (closes #239) Even though these functions will be exposed differently in the future by the package extension mechanism, I believe that their...

needs comments

I have dealt with the `rem` (more specifically `unsafe_trunc`) problem on ARM, mainly with PR #136, #223. However, this code seems to cause bad problems under certain conditions. (cf. https://github.com/JuliaLang/julia/issues/54264)...

bug

cf. https://github.com/JuliaMath/FixedPointNumbers.jl/issues/142#issuecomment-699642981 I will move the definitions of `checked_*`/`saturating_*`/`wrapping_*` to `CheckedArithmeticCore.jl` and add the implementation for integer types there. (cf. https://github.com/JuliaMath/CheckedArithmetic.jl/issues/9) In addition to `@checked`, `@wrapping` and `@saturating` macros will...

needs comments

In response to #179, I checked the support status and performance of some other functions. The (incomplete) list is shown below. ## To be supported - [ ] `^(::FixedPoint, ::Integer)`...

enhancement

If I have a 24-bit fixed-point number `x` I might represent it as a `Fixed{Int32, 23}`. If I later wanted to widen it to a 32-bit number to get extra...

enhancement