delorie.com/djgpp/doc/libc/libc_38.html | search |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
#include <stdlib.h> int abs(int value); |
The absolute value of value
is returned.
ANSI/ISO C | C89; C99 |
POSIX | 1003.2-1992; 1003.1-2001 |
int sq = 7; sq = sq * abs(sq) + 1; |
webmaster | delorie software privacy |
Copyright © 2004 | Updated Apr 2004 |