Skip to content

bitwise operations missing #5

@cyan-2048

Description

@cyan-2048

I was testing out this library as I have seen in benchmarks that this library is very good.

this library is also a very nice replacement for JSBI, I was crying in my bed when errors occured when bitwise methods were missing

Operation native BigInts JSBI
Bitwise negation b = ~a b = JSBI.bitwiseNot(a)
Bitwise “and” c = a & b c = JSBI.bitwiseAnd(a, b)
Bitwise “or” c = a | b c = JSBI.bitwiseOr(a, b)
Bitwise “xor” c = a ^ b c = JSBI.bitwiseXor(a, b)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions