almostEqual

Compares to values and returns true if the difference is epsilon or smaller.

  1. bool almostEqual(T a, S b, float epsilon)
    @safe pure nothrow
    bool
    almostEqual
    (
    T
    S
    )
    (
    T a
    ,
    S b
    ,
    float epsilon = 0.000001f
    )
  2. bool almostEqual(T a, S b, float epsilon)
  3. bool almostEqual(T a, T b, float epsilon)

Meta