-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Labels
Description
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)for more accuracy- e.g.
N0f8(0.8)^3 != N0f8(64/125)
- e.g.
-
bitstring(PR AddbitstringforFixedPointnumbers #195) -
big(Issue Addingbig(::FixedPoint)andrationalize(::FixedPoint)#184, PR Addbig()andrationalize()forFixedPoint#186) -
clamp(Issue performance on clamp #179, PR Optimizeclamp#194) -
copysign(x::Fixed, y)andflipsign(x::Fixed, y)for speed performance (PR Specialize sign-related functions #187) -
fmaandmuladd -
rationalize(Issue Addingbig(::FixedPoint)andrationalize(::FixedPoint)#184, PR Addbig()andrationalize()forFixedPoint#186) - 3-arg
remanddiv(cld) (PR Add checked, wrapping and saturating arithmetic for div/cld/fld #226, PR Add checked, wrapping and saturating arithmetic forrem/mod#230) -
rem2piandmod2pi -
signbitfor speed performance (forNormed) (PR Specialize sign-related functions #187)
To be dropped
-
abs(::Normed)specialization is not helpful. (PR Specialize sign-related functions #187)- The fallback implementation works fine.
-
copysign(x::Normed, y)andflipsign(x::Normed, y)should be throw error. (PR Specialize sign-related functions #187)
TBD
-
maxintfloat(maxintfixedandminintfixed?) -
parseandtryparsefor fixed point numbers with suffix -
bit shift operators (Issue [Feature Request] shifting with << and >> #250)
- I think they are usuful but somewhat dangerous.
-
numeratoranddenominator -
widemul
timholy