Scroll to navigation

NEAR(9) HAL Component NEAR(9)

NAME

near - Determine whether two values are roughly equal.

SYNOPSIS

loadrt near [count=N|names=name1[,name2...]]

FUNCTIONS

PINS



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.

PARAMETERS


AUTHOR

Chris Radek

LICENSE

GPL

2024-03-13 LinuxCNC Documentation