icompareEQ

 

 

Overview

The icompareEQ is a fast comparison function that assume that its operands are Integer values. The resulting value is a Boolean value of true or false. The operands are not checked and are not coerced.

Usage

Use the icompareEQ function when you wish to compare two Integers and determine if they are equal and you wish the result to be expressed as a Boolean value (true or false). These functions only operate on Integer operands. For a more general, but slower, comparison, use the compareEQ, compareNE, compareGT, compareGE, compareLT, and compareLE which performs type checking and type conversions.

 

Syntax


Expression: (icompareEQ int1 int2)

Arguments Name Type Description
Argument:int1Integer First integer to be compared.
Argument:int2Integer Second integer to be compared

Returns:

Returns true if the comparison is true, false if the comparison is false



 

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.

Number Integer Boolean

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

++ += + /=
/ * -- -=
- abortTransaction abs acos
add1 addMethod addi argument
arithmetic asin atan 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 cos cosh
count csub date day
days360 debugDetective debug decode
deg deleteRows delete disassemble
display divi evalInSyncLocalContext exit
exp exportCsv exportSbf exportTab
expt fact fdisplay fileClose
fileCopy fileDir fileDisplay fileErase
fileOpen fileReadRecord fileRead fileResize
fileSeek fileWrite filewriteln findBlock
find floor fraction freeBlock
gc gcd getRecursionCount getTickCount
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 julian kurtosis lcm
left length lisp list
loadModule loadWorkspace log10 log2
logConsole log logbase macroReplace
makeQuotedList max median member
mid min minute mod
modi money month morph
muli nadd ncompareEQ ncompareGE
ncompareGT ncompareLE ncompareLT ncompareNE
ndiv new nmod nmul
now nsub number objectToMatrix
objectToNumMatrix objectToNumVector onError pair
parent parse pi preAllocateFixedMemoryBlocks
product qt quit rad
random randomize range rank
refAttributes refValues ref remove
rename replace rept reset
resize right round saveModule
saveObject saveRepository saveWorkspace second
setAttributes setBlock setCar setCdr
setLastCdr set setf setq
sigmoid sign sin sinh
sizeof skew sleep sort
sql sqrt srandom stdev
stdevp stringCiEQ stringCiGE stringCiGT
stringCiLE stringCiLT stringCiNE string
sub1 subi submit substitute
substringCiEQ substringCiGE substringCiGT substringCiLE
substringCiLT substringCiNE substringEQ substringGE
substringGT substringLE substringLT substringNE
substring sum sumsqr svmRegression
systemCheck system tan tanh
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