From 0b354ccaf4d27f7a454ae76a9ada052088f105c9 Mon Sep 17 00:00:00 2001 From: Borys Levytskyi Date: Sun, 12 Apr 2015 00:24:03 +0300 Subject: [PATCH] support of ~ not operator --- src/index.html | 23 +++++++++++++-- src/js/app/bitwise/expression.js | 32 +++++++++++++++------ src/js/app/modelViews.js | 48 ++++++++++++++++++++++---------- tests/domain/expressionSpec.js | 19 +++++++++---- 4 files changed, 91 insertions(+), 31 deletions(-) diff --git a/src/index.html b/src/index.html index 0989be4..02c1fb7 100644 --- a/src/index.html +++ b/src/index.html @@ -93,9 +93,11 @@
  • & — bitwise AND
  • | — bitwise inclusive OR
  • ^ — bitwise exclusive XOR
  • -
  • << — left shift
  • -
  • >> — sign propagating right shift
  • -
  • >>> — zero-fill right shift
  • +
  • ~ — bitwise NOT
  • +
  • << — left shift
  • +
  • >> — sign propagating right shift
  • +
  • >>> — zero-fill right shift
  • +

    @@ -136,6 +138,21 @@ + +