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

Method rint

core/src/main/java/edu/mines/jtk/util/MathPlus.java:458–460  ·  view source on GitHub ↗

Returns the value that is closest to the specified value and is equal to a mathematical integer. @param x the value. @return the closest value.

(float x)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

testMethod · 0.45
testMathMethod · 0.45
initMethod · 0.45
updateClipsMethod · 0.45
computeMultipleMethod · 0.45

Calls

no outgoing calls

Tested by 2

testMethod · 0.36
testMathMethod · 0.36