NEAR(9) | HAL Component | NEAR(9) |
near - Determine whether two values are roughly equal.
loadrt near [count=N|names=name1[,name2...]]
out is true if in1 and in2 are within a factor of scale (i.e., for in1 positive, in1/scale <= in2 <= in1*scale), OR if their absolute difference is no greater than difference (i.e., |in1-in2| <= difference). out is false otherwise.
Chris Radek
GPL
2023-02-10 | LinuxCNC Documentation |