📄 abs.gml
字号:
.func abs
#include <stdlib.h>
int abs( int j );
.funcend
.*
.desc begin
The &func function returns the absolute value of its integer argument
.arg j.
.desc end
.*
.return begin
The &func function returns the absolute value of its argument.
.return end
.*
.see begin
.seelist abs labs llabs imaxabs fabs
.see end
.*
.exmp begin
#include <stdio.h>
#include <stdlib.h>
void main( void )
{
printf( "%d %d %d\n", abs( -5 ), abs( 0 ), abs( 5 ) );
}
.exmp output
5 0 5
.exmp end
.*
.class ISO C90
.system
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -