Download 019P Manual - Digi-Key
Transcript
Library Functions
ABS
Synopsis
#include <stdlib.h>
int abs (int j)
Description
The abs() function returns the absolute value of j.
Example
#include <stdio.h>
#include <stdlib.h>
void
main (void)
{
int a = -5;
printf("The absolute value of %d is %d\n", a, abs(a));
}
See Also
labs(), fabs()
Return Value
The absolute value of j.
197
Related documents
Manual - IS MU
HI-TECH C for PIC10/12/16 User`s Guide
032 Manual - Digi-Key
Manual - Digi-Key
US letter format
ND 2100G Manual
MPLAB® XC8 C Compiler Version 1.20 Release Notes - Digi-Key
as a PDF
"Dough It Yourself" Handbook
£10,000 prize draw
HI-TECH C for PIC10/12/16 User's Guide
Untitled - 深圳市英锐恩科技有限公司