cos.gml

来自「开放源码的编译器open watcom 1.6.0版的源代码」· GML 代码 · 共 31 行

GML
31
字号
.func cos
#include <math.h>
double cos( double x );
.ixfunc2 '&Math' &func
.ixfunc2 '&Trig' &func
.funcend
.desc begin
The &func function computes the cosine of
.arg x
(measured in radians).
A large magnitude argument may yield a result
with little or no significance.
.desc end
.return begin
The &func function returns the cosine value.
.return end
.see begin
.seelist cos acos sin tan
.see end
.exmp begin
#include <math.h>

void main()
  {
    double value;
    value = cos( 3.1415278 );
  }
.exmp end
.class ANSI
.system

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?