QABS(3) Library Functions Manual QABS(3)

qabs
return the absolute value of a quad integer

Standard C Library (libc, -lc)

#include <stdlib.h>

quad_t
qabs(quad_t j);

The qabs() function returns the absolute value of the quad integer j.

abs(3), cabs(3), floor(3), imaxabs(3), labs(3), llabs(3), math(3)

The absolute value of the most negative integer remains negative.
June 29, 1991 NetBSD 9.0