[Feature Request] shifting with << and >>
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
该 issue 没有列出文件或测试。首先定位定点类型定义以及现有的运算符或位操作测试,然后将它们的行为与提议的重新解释示例进行比较。完成的标准是 << 和 >> 能够用于定点值,并且其行为有测试覆盖。
由索引模型根据 Issue 内容生成。
描述
I would like to use << and >> to shift bits of fixed point numbers.
For example, suppose x is a fixed point, then I want
x >> 1
to be something like
reinterpret(typeof(x), reinterpret(Int, x) >> 1)
- 主要语言
- Julia
- 星标
- 95
- 派生
- 38
- 平均合并
- 16 小时 31 分钟
- 30 天内合并 PR
- 9
环境准备
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
JuliaMath/FixedPointNumbers.jl 的其他 Issue
-
bug
难度 5/5 一周以上 新手友好度 35/100
JuliaMath/FixedPointNumbers.jl#343 · 1 条评论 ·
维护者通常 1 天内回复
-
bug
难度 3/5 1-2 天 新手友好度 62/100
JuliaMath/FixedPointNumbers.jl#342 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 35/100
JuliaMath/FixedPointNumbers.jl#337 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 42/100
JuliaMath/FixedPointNumbers.jl#331 · 7 条评论 ·
维护者通常 1 天内回复
-
needs comments
难度 3/5 1-2 天 新手友好度 68/100
JuliaMath/FixedPointNumbers.jl#318 · 1 条评论 ·
维护者通常 1 天内回复
查看 JuliaMath/FixedPointNumbers.jl 的全部 Issue
相似的 Issue
-
`enzymexla.linalg.lu` lowering fails for a tall matrix: the permutation is built with the pivot type未关闭
难度 2/5 1-3 小时 新手友好度 78/100
EnzymeAD/Enzyme-JAX#3286 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 90/100
SciML/LinearSolve.jl#1359 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 88/100
EnzymeAD/ReactantNitro.jl#13 ·
-
难度 2/5 1-3 小时 新手友好度 88/100
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复