s_sincos.c
来自「用于嵌入式Linux系统的标准C的库函数」· C语言 代码 · 共 33 行
C
33 行
/* @(#)z_sin.c 1.0 98/08/13 *//****************************************************************** * Sine * * Input: * x - floating point value * * Output: * sine of x * * Description: * This routine returns the sine of x. * *****************************************************************/#include "fdlibm.h"#include "zmath.h"#ifndef _DOUBLE_IS_32BITSvoid_DEFUN (sincos, (x, sinx, cosx), double x _AND double *sinx _AND double *cosx){ *sinx = sin (x); *cosx = cos (x);}#endif /* _DOUBLE_IS_32BITS */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?