Wolfram ResearchProductsPurchasingServices & ResourcesAbout UsOur Sites
Mathematica > Testing Expressions >

Equal ()

lhsrhs
returns True if lhs and rhs are identical.
  • lhsrhs is used to represent a symbolic equation, to be manipulated using functions like Solve.
  • lhsrhs returns True if lhs and rhs are identical expressions.
  • lhsrhs returns False if lhs and rhs are determined to be unequal by comparisons between numbers or other raw data, such as strings.
  • Approximate numbers with machine- or higher precision are considered equal if they differ in at most their last seven binary digits (roughly their last two decimal digits).
  • For numbers below machine precision the required tolerance is reduced in proportion to the precision of the numbers.
  • e1e2e3 gives True if all the ei are equal.
  • For exact numeric quantities, Equal internally uses numerical approximations to establish inequality. This process can be affected by the setting of the global variable $MaxExtraPrecision.
New in 1 | Last modified in 4.1
© 2008 Wolfram Research, Inc. japanese.gif
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team