Difference between revisions of "Manuals/calci/GTE"
Jump to navigation
Jump to search
(Created page with "<div style="font-size:30px">'''GTE (A,B)'''</div><br/> *<math>A</math> and <math>B</math> are any two real numbers. ==Description== *This function is the test for greater tha...") |
|||
(3 intermediate revisions by 2 users not shown) | |||
Line 7: | Line 7: | ||
*If A is greater than or equal to B then will return the result as TRUE. | *If A is greater than or equal to B then will return the result as TRUE. | ||
*If A is less than B then will return the result as FALSE. | *If A is less than B then will return the result as FALSE. | ||
+ | |||
+ | |||
+ | All comparison functions ( [[Manuals/calci/LT |LT]], [[Manuals/calci/LTE |LTE]], [[Manuals/calci/GT |GT]], [[Manuals/calci/GTE |GTE]], [[Manuals/calci/EQ |EQ]], [[Manuals/calci/NE |NE]], [[Manuals/calci/EQS |EQS]], [[Manuals/calci/NES |NES]], [[Manuals/calci/FEQ |FEQ]]) will assume B as 0, if not provided. So EQ(10) will be treated as EQ(10,0) | ||
==Examples== | ==Examples== | ||
Line 15: | Line 18: | ||
#GTE("April","August") = false | #GTE("April","August") = false | ||
#GTE("may","December") = true | #GTE("may","December") = true | ||
+ | |||
+ | ==Related Videos== | ||
+ | |||
+ | {{#ev:youtube|v=-WlA9u6MiO8|280|center|Greater Than}} | ||
==See Also== | ==See Also== | ||
*[[Manuals/calci/LARGE | LARGE ]] | *[[Manuals/calci/LARGE | LARGE ]] | ||
− | *[[Manuals/calci/ | + | *[[Manuals/calci/GT | GT ]] |
+ | *[[Z_API_Functions | List of Main Z Functions]] | ||
+ | *[[ Z3 | Z3 home ]] | ||
+ | |||
+ | ==References== | ||
+ | *[http://en.wikipedia.org/wiki/Large_numbers LARGE NUMBERS] | ||
+ | |||
*[[Z_API_Functions | List of Main Z Functions]] | *[[Z_API_Functions | List of Main Z Functions]] | ||
+ | |||
*[[ Z3 | Z3 home ]] | *[[ Z3 | Z3 home ]] |
Latest revision as of 21:58, 21 March 2024
GTE (A,B)
- and are any two real numbers.
Description
- This function is the test for greater than or equal to the given numbers.
- In , and are any two real numbers.
- If A is greater than or equal to B then will return the result as TRUE.
- If A is less than B then will return the result as FALSE.
All comparison functions ( LT, LTE, GT, GTE, EQ, NE, EQS, NES, FEQ) will assume B as 0, if not provided. So EQ(10) will be treated as EQ(10,0)
Examples
- GTE(9,8) = true
- GTE(-90,-75) = false
- GTE(90.23,82.22) = true
- GTE(90.23,82.22) = true
- GTE("April","August") = false
- GTE("may","December") = true