DOKK / manpages / debian 12 / linuxcnc-uspace / abs_s32.9.en
ABS_S32(9) HAL Component ABS_S32(9)

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

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

input value
output value, always non-negative
Sign of input, false for positive, true for negative
TRUE if input is positive, FALSE if input is 0 or negative
TRUE if input is negative, FALSE if input is 0 or positive

Sebastian Kuzminsky

GPL

2023-02-10 LinuxCNC Documentation