MCPcopy Create free account
hub / github.com/dhale/jtk / between

Method between

core/src/main/java/edu/mines/jtk/util/Almost.java:162–164  ·  view source on GitHub ↗

See if value is between two other values, including almost equality @param x Value to check @param x1 Value at one end of interval. @param x2 Value at other end of interval. @return true if x is between x1 and x2.

(final double x, final double x1, final double x2)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

testEverythingMethod · 0.95
outsideMethod · 0.95

Calls 1

cmpMethod · 0.95

Tested by 1

testEverythingMethod · 0.76