Equal
- To: mathgroup at smc.vnet.net
- Subject: [mg71556] Equal
- From: "dimitris" <dimmechan at yahoo.com>
- Date: Thu, 23 Nov 2006 05:41:26 -0500 (EST)
Dear Andrew,
FrontEndExecute[{HelpBrowserLookup["RefGuide","Equal"]}]
I copy from there
"Approximate numbers are considered equal if they differ in at most
their last eight binary digits (roughly their last two decimal digits).
2 == 2. gives True ".
InputForm[1`2 ]
1.`1.9999999999999998
Precision[%]
2.
Use SameQ
{3. == 3, 3. === 3}
{True, False}
Regards
Dimitris