Query: labs
OS: mojave
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
LABS(3) BSD Library Functions Manual LABS(3)NAMElabs -- return the absolute value of a long integerLIBRARYStandard C Library (libc, -lc)SYNOPSIS#include <stdlib.h> long labs(long i);DESCRIPTIONThe labs() function returns the absolute value of the long integer i.SEE ALSOabs(3), cabs(3), floor(3), imaxabs(3), llabs(3), math(3)STANDARDSThe labs() function conforms to ISO/IEC 9899:1990 (``ISO C90'').BUGSThe absolute value of the most negative integer remains negative.BSDNovember 14, 2001 BSD