JuliaMath / JuliaMath/FixedPointNumbers.jl

Move arithmetic definitions into a submodule `FixedPointNumbers.FixedPointArithmetic`

Open
#239 2 comments 1 reaction 0 assignees View on GitHub
needs comments
Dominant language
Julia
Stars
95
Forks
38
Avg merge
13m
Merged PRs (30d)
2

Description

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 be provided by `CheckedArithmetic.jl`. Those macros should be available for `FixedPoint` as well.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.