This documentation is no longer maintained. For documentation of the current version of emc2, please see http://www.linuxcnc.org/docview/html

NEAR

NAME
SYNOPSIS
FUNCTIONS
PINS
PARAMETERS
LICENSE

NAME

near − Determine whether two values are roughly equal.

SYNOPSIS

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

FUNCTIONS

near.N (uses floating-point)

PINS

near.N.in1 float in

near.N.in2 float in

near.N.out bit out

true if in1/scale <= in2 <= in1*scale, OR |in1-in2| <= difference

PARAMETERS

near.N.scale float rw (default: 1)

near.N.difference float rw (default: 0)

LICENSE

GPL