UtilNE Method (Double, Double, Double) |
Test if a is not equal to b (within e tolerance)
Namespace:
Demo3D.Common
Assembly:
Demo3D.Common (in Demo3D.Common.dll) Version: 15.0.2.11458
Syntaxpublic static bool NE(
double a,
double b,
double e
)
Parameters
- a
- Type: SystemDouble
First number - b
- Type: SystemDouble
Second number - e
- Type: SystemDouble
Epsilon for test
Return Value
Type:
BooleanLogical result of comparing
a and
b
RemarksUse for floating point comparisons (e.g. "1.0f/3" equals "1.0/3" returns false, but logically it should be true)
See Also