bdiv

 

 

Overview

The bdiv built-in function divides the first Boolean argument by any number of Boolean divisors and the quotient is expressed as a Boolean. The operands are not checked and are not coerced. Both operands are treated as integers during the divide operation. The result is a Boolean true if and only if the result of the operation is a one; otherwise, the result is a Boolean false.

Usage

The bdiv built-in function is a simple but very fast boolean division function. Use the bdiv function for highly optimized boolean addition.

 

Syntax


Expression: (bdiv bool1 bool2 ... )

Arguments Name Type Description
Argument:bool1Boolean A Boolean dividend.
Argument:bool2Boolean An arbitrary number of boolean divisors.

Returns:

The quotient of all of the Boolean in the argument list.



 

Examples

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.

Boolean Integer

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

++ += + /=
/ * -- -=
- abortTransaction addMethod addi
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 cons count
csub day days360 debugDetective
debug deleteRows delete disassemble
display divi evalInSyncLocalContext exit
exportCsv exportSbf exportTab fact
fdisplay fileClose fileCopy fileDir
fileDisplay fileErase fileOpen fileReadRecord
fileRead fileResize fileSeek 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 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
onError pair parent parse
preAllocateFixedMemoryBlocks product qt quit
random randomize range rank
refAttributes refValues ref remove
rename replace rept reset
resize right round 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 string subi substitute
substringCiEQ substringCiGE substringCiGT substringCiLE
substringCiLT substringCiNE substringEQ substringGE
substringGT substringLE substringLT substringNE
substring sum sumsqr svmRegression
systemCheck system text time
type uniqueInsert 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