Difference between revisions of "Manuals/calci/FEQ"

From ZCubes Wiki
Jump to navigation Jump to search
(Created page with "feq")
 
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
feq
+
<div style="font-size:30px">'''FEQ (A,B)'''</div><br/>
 +
*<math>A </math> and <math>B </math> are any real numbers.
 +
 
 +
==Description==
 +
*This function is the test function of equal values.
 +
*In <math>FEQ(A,B)</math>,<math>A</math> and <math>B</math> are any real numbers.
 +
*When A and B are equal values then will return the result as TRUE.
 +
*When A and B are not equal then 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==
 +
#FEQ(9,8) = false
 +
#FEQ(123,123) = true
 +
#FEQ(-19,19) = false
 +
 
 +
==Related Videos==
 +
 
 +
{{#ev:youtube|v=Sq-vDGU0LhM|280|center|Equal Values}}
 +
 
 +
==See Also==
 +
*[[Manuals/calci/POSITIVE| POSITIVE]]
 +
*[[Manuals/calci/NEGATIVE| NEGATIVE]]
 +
 
 +
==References==
 +
*[https://en.wikipedia.org/wiki/Perfect_number Perfect Number]
 +
*[[Z_API_Functions | List of Main Z Functions]]
 +
 
 +
*[[ Z3 |  Z3 home ]]

Latest revision as of 21:59, 21 March 2024

FEQ (A,B)


  • and are any real numbers.

Description

  • This function is the test function of equal values.
  • In , and are any real numbers.
  • When A and B are equal values then will return the result as TRUE.
  • When A and B are not equal then 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

  1. FEQ(9,8) = false
  2. FEQ(123,123) = true
  3. FEQ(-19,19) = false

Related Videos

Equal Values

See Also

References