logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

abs - Compute the absolute value and sign of the input signal

Author

       John Kasunich

Functions

abs.N (requires a floating-point thread)

License

       GPL

LinuxCNC Documentation                             2025-08-07                                             ABS(9)

Name

       abs - Compute the absolute value and sign of the input signal

Pins

abs.N.in float in
              Analog input value

       abs.N.out float out
              Analog output value, always positive

       abs.N.sign bit out
              Sign of input, false for positive, true for negative

       abs.N.is-positive bit out
              TRUE if input is positive, FALSE if input is 0 or negative

       abs.N.is-negative bit out
              TRUE if input is negative, FALSE if input is 0 or positive

Synopsis

loadrtabs[count=N|names=name1[,name2...]]

See Also