Previous Up Next

5.1.7  Evaluating booleans

The Maple command evalb evaluates a boolean expression (see Section 5.1). Since Xcas evaluates booleans automatically, it includes a evalb command only here for compatibility and is equivalent to eval (see Section 9.1.1).

Examples

evalb(sqrt(2)>1.41)

or:

sqrt(2)>1.41
     
1           
evalb(sqrt(2)>1.42)

or:

sqrt(2)>1.42
     
0           

Previous Up Next