Open
Description
Hi, I was experimenting with bitwise operations but quickly ran into a problem.
The numbers are implemented as Rust's f64
, which causes conversion performed on large numbers to give surprising results.
For example:
X ← °⋯[⍥1 64]
X # Expected: 18446744073709551615
⋯X # Expected: 64 1s
⧻. # Expected: 64
18446744073709552000
[0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1]
65
Metadata
Metadata
Assignees
Labels
No labels