Description Usage Arguments Examples
The equivalent
function verifies whether two objects are
similar up to rounding errors. It should be used instead of identical
for tests that admit a small numerical inconsistency.
1 | equivalent(a, b)
|
a, b |
Objects to be compared |
1 2 | identical (1, 1 / 3 * (1 + 1 + 1))
equivalent (1, 1 / 3 * (1 + 1 + 1))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.