[Binary] more potential built-in function candidates?
I'm thinking that we could probably add functions that allows to either clear or "set" a specific bit.
Potentially, this could lead to the need of having another - e.g. :bitset - type.
Is it worth the fuss?
#=======================================
# Definitions
#=======================================
# TODO(Binary) more potential built-in function candidates?
# I'm thinking that we could probably add functions that allows to either clear or "set" a specific bit.
# Potentially, this could lead to the need of having another - e.g. `:bitset` - type.
# Is it worth the fuss?
# labels: library, enhancement, open discussion
proc defineLibrary*() =
#----------------------------
# Functions
#----------------------------
builtin "and",
alias = unaliased,
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
[Binary] more potential built-in function candidates? I'm thinking that we could probably add functions that allows to either clear or "set" a specific bit. Potentially, this could lead to the need of having another - e.g.
:bitset
- type. Is it worth the fuss?https://github.com/arturo-lang/arturo/blob/411617a1906063cf0adfd3ac06804dc4b29403a0/src/library/Bitwise.nim#L28
ed6f15de91b09c9135edbbe37ae565ed4ab66e9e