sincos.c

来自「Source code for an Numeric Cmputer」· C语言 代码 · 共 42 行

C
42
字号
/********************************************************************* Description: sincos.c**   Derived from a work by Fred Proctor & Will Shackleford** Author:* License: LGPL Version 2* System: Linux*    * Copyright (c) 2004 All rights reserved.** Last change: * $Revision: 1.5 $* $Author: alex_joni $* $Date: 2006/01/24 21:51:32 $********************************************************************//*   sincos.c   Modification history:  21-Jan-2004  P.C. Moved across from the original EMC source tree.*/#ifndef HAVE_SINCOS#include "sincos.h"#ifndef HAVE___SINCOS#include "posemath.h"void sincos(double x, double *sx, double *cx){    *sx = sin(x);    *cx = cos(x);}#endif#endif

⌨️ 快捷键说明

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