Skip to content

Bitwise operations - add one's complement, alternative representations and improve documentation #26

Description

@didito
  1. I could not find any information in the docs about one's complement. The other basic bitwise operations work as expected (&, I, ^), but neither "not", nor "~", nor "!" work for me.

  2. I think it would intuitive to have alternative operators as well in the form of "and", "or", "xor" and "not"
    Similar to this https://en.cppreference.com/w/cpp/language/operator_alternative

  3. Binary shifts are not really mentioned in the documentation. kalk's >> is an arithmetic shift as far as I can see. Might be worth clarifying.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions