Add kifneg function

Issue #679 closed
Erik Schnetter created an issue

Subject: Add kifneg function From: Erik Schnetter eschnetter@perimeterinstitute.ca Date: 2011-11-26

Add an kifneg function that does the opposite of kifpos, because kifneg is more natural (in the same sense as "ifnotzero" is natural in C.)

Incidentally, it should probably be renamed "ifmsb" instead, because it can also be applied to unsigned quantities which don't have a sign bit.

Keyword:

Comments (2)

  1. Log in to comment