代码搜索:complex

找到约 10,000 项符合「complex」的源代码

代码结果 10,000
www.eeworm.com/read/366702/2879542

c 981007-1.c

extern double fabs (double); extern double sqrt (double); typedef struct complexm { double re,im; } complex; static complex setCom (double r, double i) { complex ct; ct.re=fabs(r)
www.eeworm.com/read/366702/2884374

c fold-mulconj-1.c

/* PR tree-optimization/23452 */ /* { dg-do compile } */ /* { dg-options "-O2 -ffast-math -fdump-tree-gimple" } */ _Complex double foo(_Complex double z) { return z * ~z; } _Complex int bar(_Compl
www.eeworm.com/read/359352/2978779

txt 例10.9.txt

例10.9 使用类型转换函数的简单例子。 #include using namespace std; class Complex {public: Complex( ){real=0;imag=0;} Complex(double r,double i){real=r;imag=i;} operator double( ) {return real;}
www.eeworm.com/read/470720/1446985

c overload8.c

// Build don't link: // GROUPS passed overloading typedef struct{double re,im;} complex; class Complex{public:double re,im; inline void operator=(Complex&X){re=X.re; im=X.im;};}; void zxcvbnm(int
www.eeworm.com/read/470693/1458931

c overload8.c

// Build don't link: // GROUPS passed overloading typedef struct{double re,im;} complex; class Complex{public:double re,im; inline void operator=(Complex&X){re=X.re; im=X.im;};}; void zxcvbnm(int
www.eeworm.com/read/457727/1594503

c fixrts.c

#include #include "complex.h" #define NMAX 100 #define ZERO Complex(0.0,0.0) #define ONE Complex(1.0,0.0) void fixrts(float d[], int m) { void zroots(fcomplex a[], int m, fcomplex r
www.eeworm.com/read/191080/5168551

c fixrts.c

#include #include "complex.h" #define NMAX 100 #define ZERO Complex(0.0,0.0) #define ONE Complex(1.0,0.0) void fixrts(float d[], int m) { void zroots(fcomplex a[], int m, fcomplex r
www.eeworm.com/read/190666/5174776

c overload8.c

// Build don't link: // GROUPS passed overloading typedef struct{double re,im;} complex; class Complex{public:double re,im; inline void operator=(Complex&X){re=X.re; im=X.im;};}; void zxcvbnm(int
www.eeworm.com/read/340665/3275432

c overload8.c

// Build don't link: // GROUPS passed overloading typedef struct{double re,im;} complex; class Complex{public:double re,im; inline void operator=(Complex&X){re=X.re; im=X.im;};}; void zxcvbnm(int
www.eeworm.com/read/289215/3992059

h rand4x4.h

#define PRINTF_SUPPORT #define MAX_PERMISSIBLE_ERROR 5 typedef struct { short re, im; } complex_fract16; segment("mydata1") complex_fract16 _in[1024]; segment("mydata2") complex_fract16 _