The bitwiseNot Macro performs a numeric bitwise not of the argument expression, returning the value of the result as a binary Integer.

This function also operates on the individual bits in a ByteVector or BitVector, returning the altered Vector. The first argument must be either a ByteVector or a BitVector. Any other Vector arguments must be of the same type. All scalar arguments must be either 0 or 1.


The bitwiseNot macro results in the following substitution. Use whenever a bitwise complement is required.

(bitwiseNand exp exp)




(bitwiseNot exp ...)

Arguments Name Type Description
Argument:exp ...Integer Character Boolean Any expression.


Returns the result of the bitwise not operation.



Here are a number of links to Lambda coding examples which contain this instruction in various use cases.


Argument Types

Here are the links to the data types of the function arguments.

Integer Character Boolean ByteVector

Here are also a number of links to functions having arguments with any of these data types.

++ += + /=
/ * -- -=
- abortTransaction addMethod addi
appendWriteln avg badd balance
bcompareEQ bcompareGE bcompareGT bcompareLE
bcompareLT bcompareNE bdiv beginTransaction
binaryInsert binaryNand binaryNor binaryNot
binaryNxor binarySearch bitwiseAnd bitwiseNand
bitwiseNor bitwiseNot bitwiseNxor bitwiseOr
bitwiseShiftLeft bitwiseShiftRight bitwiseXor bmod
bmul boolean cadd ccompareEQ
ccompareGE ccompareGT ccompareLE ccompareLT
ccompareNE cdiv char character
checkPointTransaction clear cmod cmul
code commitTransaction compareEQ compareGE
compareGT compareLE compareLT compareNE
compare comparison compile compress
cons count csub day
days360 debugDetective debug decode
deleteRows delete dimension disassemble
display divi downcase encode
evalInSyncLocalContext exit exportCsv exportSbf
exportTab fact fdisplay fileClose
fileCopy fileDir fileDisplay fileErase
fileOpen fileReadRecord fileRead fileResize
fileSeek fileWriteAll fileWrite filewriteln
findBlock find floor fraction
freeBlock gc gcd getRecursionCount
hashString hour iadd icompareEQ
icompareGE icompareGT icompareLE icompareLT
icompareNE idiv imod importCsv
importSbf importTab imul insertRows
insert inside inspect integer
isAtom isBitVector isBoolean isBound
isByteVector isCharAlphabetic isCharAlphanumeric isCharLowercase
isCharName isCharNumeric isCharUppercase isCharWhitespace
isChar isCharacter isComplex isDate
isDictionary isDirectory isEqual isError
isEven isExact isFloatVector isIdentical
isImmediate isInexact isInside isIntegerVector
isInteger isLambda isMatrix isMember
isMoney isNegative isNull isNumberMatrix
isNumberVector isNumber isObjectVector isObject
isOdd isPair isPcodeVector isPositive
isString isStructure isSymbol isText
isTransaction isType isVector isZero
isub kurtosis lcm left
length lisp list loadModule
loadObject loadWorkspace logConsole macroReplace
makeQuotedList max median member
mid min minute mod
modi money month morph
muli ncompareEQ ncompareGE ncompareGT
ncompareLE ncompareLT ncompareNE new
number objectToMatrix objectToNumMatrix objectToNumVector
offset onError pair parent
parse pointer preAllocateFixedMemoryBlocks product
qt quit random randomize
range rank refAttributes refValues
ref remove rename replace
rept reset resize right
round run saveModule saveObject
saveWorkspace second setAttributes setBlock
setCar setCdr setLastCdr set
setf setq sizeof skew
sort sql sqrt srandom
stdev stdevp stringCiEQ stringCiGE
stringCiGT stringCiLE stringCiLT stringCiNE
stringToBVector stringToVector string subi
substitute substringCiEQ substringCiGE substringCiGT
substringCiLE substringCiLT substringCiNE substringEQ
substringGE substringGT substringLE substringLT
substringNE substring sum sumsqr
svmRegression systemCheck system text
time type uncompress uniqueInsert
upcase var varp vectorBinaryInnerProduct
vectorBipolarInnerProduct vectorCosineInnerProduct vectorCubeInnerProduct vectorDelete
vectorExpInnerProduct vectorFill vectorInnerProduct vectorLogInnerProduct
vectorQuartInnerProduct vectorQuintInnerProduct vectorSigmoidInnerProduct vectorSineInnerProduct
vectorSquareInnerProduct vectorTanInnerProduct vectorTanhInnerProduct version
writelg writeln year

Analytic Information Server (AIS)

AIS Component Systems

  • Smartbase Engine
  • QT C++ Libraries
  • MySQL Relational Database
  • AIS Lisp Libraries
  • Rapid Analytic Demo IDE