abs_s32(9)

abs_s329

Compute the absolute value and sign of the input signal

Usage

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

Functions

abs-s32.N

Pins

abs-s32.N.in s32 in

input value

abs-s32.N.out s32 out

output value, always non-negative

abs-s32.N.sign bit out

Sign of input, false for positive, true for negative

abs-s32.N.is-positive bit out

TRUE if input is positive, FALSE if input is 0 or negative

abs-s32.N.is-negative bit out

TRUE if input is negative, FALSE if input is 0 or positive

Releases

2 releases since Debian 12 (Bookworm); the text changed 1 time.

  1. 12
  2. 13

Author

Sebastian Kuzminsky

License

GPL

From linuxcnc-uspace 1:2.9.4-2+deb13u1 in Debian 13 (Trixie). Parsed by carta from the page's man source.