ABS.3
资源名称:os_source.zip [点击查看]
上传用户:datang2001
上传日期:2007-02-01
资源大小:53269k
文件大小:1k
源码类别:
操作系统开发
开发平台:
C/C++
- ABS(3) Minix Programmer's Manual ABS(3)
- NAME
- abs - integer absolute value
- SYNOPSIS
- #include <stdlib.h>
- int abs(int i)
- DESCRIPTION
- Abs returns the absolute value of its integer operand.
- SEE ALSO
- floor(3).
- BUGS
- Applying the abs function to the most negative integer generates a result
- which is the most negative integer. That is, abs(0x80000000) returns
- 0x80000000 as a result on a machine with 32-bit ints. Using the result
- in unsigned computations is sound however.
- May 15, 1985 1