numericEps: get the spacing, distance and near values for successive...

Description Usage Arguments Details Value References

Description

get the spacing, distance and near values for successive numeric values

Usage

1
2
3
4
5
6
7

Arguments

x

numeric vector

y

numeric vector

maxEpsDistance

an integer specifying the number of successive numerical values considerd to be nearby.

Details

getNumericUpperSpacing and getNumericLowerSpacing return the distance to the next higher / lower numeric value
getEpsDistance return the number of intermediate numeric values between x and Y plus 1
coerceNearToInt coerce values near to an integer valeus to that integer
More precise, the spacing between x and the successive numeric value is returned.

Value

the space between two successive numeric values

References

https://en.wikipedia.org/wiki/Machine_epsilon


Pisca46/quantities documentation built on May 31, 2019, 11:41 p.m.