IsFalse - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


VerifyTools

  

IsFalse

  

fast inline version of type 'verify'(false)

  

IsFail

  

fast inline version of type 'verify'(FAIL)

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

IsFalse(expr)

IsFail(expr)

Parameters

expr

-

an expression

Description

• 

IsFalse returns true if expr is identically false, or a list whose first element is false, and returns false otherwise.

• 

IsFail returns true if expr is identically FAIL, or a list whose first element is FAIL, and returns false otherwise.

• 

IsFalse(expr) is equivalent to type(expr, verify(false)) except that it should be faster; similarly IsFail(expr) is equivalent to type(expr, verify(FAIL)) except faster.

Examples

withVerifyTools:

IsFalsefalse

true

(1)

exprverify3.14,evalfπ,float10

exprfalse,1.59×106,ulps

(2)

IsFalseexpr

true

(3)

Digits4:

IsFalseverify3.14,evalfπ,float10

false

(4)

IsFailFAIL

true

(5)

IsFailtrue

false

(6)

IsFailfalse

false

(7)

See Also

verify

verify[structured]

VerifyTools