oldcomplex.h
来自「操作系统SunOS 4.1.3版本的源码」· C头文件 代码 · 共 16 行
H
16 行
/* @(#)oldcomplex.h 1.1 92/07/30 SMI *//* * Copyright (c) 1988 by Sun Microsystems, Inc. */#include <math.h>typedef struct { float real, imag; } complex;typedef struct { double dreal, dimag; } dcomplex;/* So far the following works for all architectures. */#define COMPLEXFUNCTIONTYPE double#define RETURNCOMPLEX(R,M) { union { double _d; float _f[2]} _kluge ; _kluge._f[0] = (R) ; _kluge._f[1] = (M) ; return(_kluge._d) ; }
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?