亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專(zhuān)輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? xcomplex

?? C標(biāo)準(zhǔn)庫(kù)源代碼,能提高對(duì)C的理解,不錯(cuò)的哦
??
?? 第 1 頁(yè) / 共 2 頁(yè)
字號(hào):
// xcomplex internal header

#if     _MSC_VER > 1000 /*IFSTRIP=IGN*/
#pragma once
#endif

#ifndef _XCOMPLEX_
#define _XCOMPLEX_

		// TEMPLATE FUNCTION imag
_TMPLT(_Ty) inline
	_Ty __cdecl imag(const _CMPLX(_Ty)& _X)
	{return (_X.imag()); }
		// TEMPLATE FUNCTION real
_TMPLT(_Ty) inline
	_Ty __cdecl real(const _CMPLX(_Ty)& _X)
	{return (_X.real()); }
		// TEMPLATE FUNCTION _Fabs
_TMPLT(_Ty) inline
	_Ty __cdecl _Fabs(const _CMPLX(_Ty)& _X, int *_Pexp)
	{*_Pexp = 0;
	_Ty _A = real(_X);
	_Ty _B = imag(_X);
	if (_CTR(_Ty)::_Isnan(_A))
		return (_A);
	else if (_CTR(_Ty)::_Isnan(_B))
		return (_B);
	else
		{if (_A < 0)
			_A = -_A;
		if (_B < 0)
			_B = -_B;
		if (_A < _B)
			{_Ty _W = _A;
			_A = _B, _B = _W; }
		if (_A == 0 || _CTR(_Ty)::_Isinf(_A))
			return (_A);
		if (1 <= _A)
			*_Pexp = 2, _A = _A * 0.25, _B = _B * 0.25;
		else
			*_Pexp = -2, _A = _A * 4, _B = _B * 4;
		_Ty _W = _A - _B;
		if (_W == _A)
			return (_A);
		else if (_B < _W)
			{const _Ty _Q = _A / _B;
			return (_A + _B
				/ (_Q + _CTR(_Ty)::sqrt(_Q * _Q + 1))); }
		else
			{static const _Ty _R2 = (const _Ty)1.4142135623730950488L;
			static const _Ty _Xh = (const _Ty)2.4142L;
			static const _Ty _Xl = (const _Ty)0.0000135623730950488016887L;
			const _Ty _Q = _W / _B;
			const _Ty _R = (_Q + 2) * _Q;
			const _Ty _S = _R / (_R2 + _CTR(_Ty)::sqrt(_R + 2))
				+ _Xl + _Q + _Xh;
			return (_A + _B / _S); }}}
		// TEMPLATE FUNCTION operator+
_TMPLT(_Ty) inline
	_CMPLX(_Ty) __cdecl operator+(const _CMPLX(_Ty)& _L,
		const _CMPLX(_Ty)& _R)
	{_CMPLX(_Ty) _W(_L);
	return (_W += _R); }
_TMPLT(_Ty) inline
	_CMPLX(_Ty) __cdecl operator+(const _CMPLX(_Ty)& _L, const _Ty& _R)
	{_CMPLX(_Ty) _W(_L);
	_W.real(_W.real() + _R);
	return (_W); }
_TMPLT(_Ty) inline
	_CMPLX(_Ty) __cdecl operator+(const _Ty& _L, const _CMPLX(_Ty)& _R)
	{_CMPLX(_Ty) _W(_L);
	return (_W += _R); }
		// TEMPLATE FUNCTION operator-
_TMPLT(_Ty) inline
	_CMPLX(_Ty) __cdecl operator-(const _CMPLX(_Ty)& _L,
		const _CMPLX(_Ty)& _R)
	{_CMPLX(_Ty) _W(_L);
	return (_W -= _R); }
_TMPLT(_Ty) inline
	_CMPLX(_Ty) __cdecl operator-(const _CMPLX(_Ty)& _L, const _Ty& _R)
	{_CMPLX(_Ty) _W(_L);
	_W.real(_W.real() - _R);
	return (_W); }
_TMPLT(_Ty) inline
	_CMPLX(_Ty) __cdecl operator-(const _Ty& _L, const _CMPLX(_Ty)& _R)
	{_CMPLX(_Ty) _W(_L);
	return (_W -= _R); }
		// TEMPLATE FUNCTION operator*
_TMPLT(_Ty) inline
	_CMPLX(_Ty) __cdecl operator*(const _CMPLX(_Ty)& _L,
		const _CMPLX(_Ty)& _R)
	{_CMPLX(_Ty) _W(_L);
	return (_W *= _R); }
_TMPLT(_Ty) inline
	_CMPLX(_Ty) __cdecl operator*(const _CMPLX(_Ty)& _L, const _Ty& _R)
	{_CMPLX(_Ty) _W(_L);
	_W.real(_W.real() * _R);
	_W.imag(_W.imag() * _R);
	return (_W); }
_TMPLT(_Ty) inline
	_CMPLX(_Ty) __cdecl operator*(const _Ty& _L, const _CMPLX(_Ty)& _R)
	{_CMPLX(_Ty) _W(_L);
	return (_W *= _R); }
		// TEMPLATE FUNCTION operator/
_TMPLT(_Ty) inline
	_CMPLX(_Ty) __cdecl operator/(const _CMPLX(_Ty)& _L,
		const _CMPLX(_Ty)& _R)
	{_CMPLX(_Ty) _W(_L);
	return (_W /= _R); }
_TMPLT(_Ty) inline
	_CMPLX(_Ty) __cdecl operator/(const _CMPLX(_Ty)& _L, const _Ty& _R)
	{_CMPLX(_Ty) _W(_L);
	_W.real(_W.real() / _R);
	_W.imag(_W.imag() / _R);
	return (_W); }
_TMPLT(_Ty) inline
	_CMPLX(_Ty) __cdecl operator/(const _Ty& _L, const _CMPLX(_Ty)& _R)
	{_CMPLX(_Ty) _W(_L);
	return (_W /= _R); }
		// TEMPLATE FUNCTION UNARY operator+
_TMPLT(_Ty) inline
	_CMPLX(_Ty) __cdecl operator+(const _CMPLX(_Ty)& _L)
	{return (_CMPLX(_Ty)(_L)); }
		// TEMPLATE FUNCTION UNARY operator-
_TMPLT(_Ty) inline
	_CMPLX(_Ty) __cdecl operator-(const _CMPLX(_Ty)& _L)
	{return (_CMPLX(_Ty)(-real(_L), -imag(_L))); }
		// TEMPLATE FUNCTION operator==
_TMPLT(_Ty) inline
	bool __cdecl operator==(const _CMPLX(_Ty)& _L, const _CMPLX(_Ty)& _R)
	{return (real(_L) == real(_R) && imag(_L) == imag(_R)); }
_TMPLT(_Ty) inline
	bool __cdecl operator==(const _CMPLX(_Ty)& _L, const _Ty& _R)
	{return (real(_L) == _R && imag(_L) == 0); }
_TMPLT(_Ty) inline
	bool __cdecl operator==(const _Ty& _L, const _CMPLX(_Ty)& _R)
	{return (_L == real(_R) && 0 == imag(_R)); }
_TMPLT(_Ty) inline
	bool __cdecl operator!=(const _CMPLX(_Ty)& _L, const _CMPLX(_Ty)& _R)
	{return (!(_L == _R)); }
_TMPLT(_Ty) inline
	bool __cdecl operator!=(const _CMPLX(_Ty)& _L, const _Ty& _R)
	{return (!(_L == _R)); }
_TMPLT(_Ty) inline
	bool __cdecl operator!=(const _Ty& _L, const _CMPLX(_Ty)& _R)
	{return (!(_L == _R)); }
		// TEMPLATE FUNCTION abs
_TMPLT(_Ty) inline
	_Ty __cdecl abs(const _CMPLX(_Ty)& _X)
	{int _Xexp;
	_Ty _Rho = _Fabs(_X, &_Xexp);
	if (_Xexp == 0)
		return (_Rho);
	else
		return (_CTR(_Ty)::ldexp(_Rho, _Xexp)); }
		// TEMPLATE FUNCTION arg
_TMPLT(_Ty) inline
	_Ty __cdecl arg(const _CMPLX(_Ty)& _X)
	{return (_CTR(_Ty)::atan2(imag(_X), real(_X))); }
		// TEMPLATE FUNCTION conjg
_TMPLT(_Ty) inline
	_CMPLX(_Ty) __cdecl conj(const _CMPLX(_Ty)& _X)
	{return (_CMPLX(_Ty)(real(_X), -imag(_X))); }
		// TEMPLATE FUNCTION cos
_TMPLT(_Ty) inline
	_CMPLX(_Ty) __cdecl cos(const _CMPLX(_Ty)& _X)
	{return (_CMPLX(_Ty)(
		_CTR(_Ty)::_Cosh(imag(_X), _CTR(_Ty)::cos(real(_X))),
		-_CTR(_Ty)::_Sinh(imag(_X),
			_CTR(_Ty)::sin(real(_X))))); }
		// TEMPLATE FUNCTION cosh
_TMPLT(_Ty) inline
	_CMPLX(_Ty) __cdecl cosh(const _CMPLX(_Ty)& _X)
	{return (_CMPLX(_Ty)(
		_CTR(_Ty)::_Cosh(real(_X), _CTR(_Ty)::cos(imag(_X))),
		_CTR(_Ty)::_Sinh(real(_X), _CTR(_Ty)::sin(imag(_X))))); }
		// TEMPLATE FUNCTION exp
_TMPLT(_Ty) inline
	_CMPLX(_Ty) __cdecl exp(const _CMPLX(_Ty)& _X)
	{_Ty _Re(real(_X)), _Im(real(_X));
	_CTR(_Ty)::_Exp(&_Re, _CTR(_Ty)::cos(imag(_X)), 0);
	_CTR(_Ty)::_Exp(&_Im, _CTR(_Ty)::sin(imag(_X)), 0);
	return (_CMPLX(_Ty)(_Re, _Im)); }
		// TEMPLATE FUNCTION log
_TMPLT(_Ty) inline
	_CMPLX(_Ty) __cdecl log(const _CMPLX(_Ty)& _X)
	{int _Xexp;
	_Ty _Rho = _Fabs(_X, &_Xexp);
	if (_CTR(_Ty)::_Isnan(_Rho))
		return (_CMPLX(_Ty)(_Rho, _Rho));
	else
		{static const _Ty _Cm = 22713.0 / 32768.0;
		static const _Ty _Cl = (const _Ty)1.428606820309417232e-6L;
		_Ty _Xn = _Xexp;
		_CMPLX(_Ty) _W(_Rho == 0 ? -_CTR(_Ty)::_Infv(_Rho)
			: _CTR(_Ty)::_Isinf(_Rho) ? _Rho
			: _CTR(_Ty)::log(_Rho) + _Xn * _Cl + _Xn * _Cm,
				_CTR(_Ty)::atan2(imag(_X), real(_X)));
		return (_W); }}
		// TEMPLATE FUNCTION log10
_TMPLT(_Ty) inline
	_CMPLX(_Ty) __cdecl log10(const _CMPLX(_Ty)& _X)
	{return (log(_X) * (_Ty)0.4342944819032518276511289L); }
		// TEMPLATE FUNCTION norm
_TMPLT(_Ty) inline
	_Ty __cdecl norm(const _CMPLX(_Ty)& _X)
	{return (real(_X) * real(_X) + imag(_X) * imag(_X)); }
		// TEMPLATE FUNCTION polar
_TMPLT(_Ty) inline
	_CMPLX(_Ty) __cdecl polar(const _Ty& _Rho, const _Ty& _Theta)
	{return (_CMPLX(_Ty)(_Rho * _CTR(_Ty)::cos(_Theta),
		_Rho * _CTR(_Ty)::sin(_Theta))); }
_TMPLT(_Ty) inline
	_CMPLX(_Ty) __cdecl polar(const _Ty& _Rho)
	{return (polar(_Rho, (_Ty)0)); }
		// TEMPLATE FUNCTION pow
_TMPLT(_Ty) inline
	_CMPLX(_Ty) __cdecl pow(const _CMPLX(_Ty)& _X,
		const _CMPLX(_Ty)& _Y)
	{if (imag(_Y) == 0)
		return (pow(_X, real(_Y)));
	else if (imag(_X) == 0)
		return (_CMPLX(_Ty)(pow(real(_X), _Y)));
	else
		return (exp(_Y * log(_X))); }
_TMPLT(_Ty) inline
	_CMPLX(_Ty) __cdecl pow(const _CMPLX(_Ty)& _X, const _Ty& _Y)
	{if (imag(_X) == 0)
		return (_CMPLX(_Ty)(_CTR(_Ty)::pow(real(_X), _Y)));
	else
		return (exp(_Y * log(_X))); }
_TMPLT(_Ty) inline
	_CMPLX(_Ty) __cdecl pow(const _CMPLX(_Ty)& _X, int _Y)
	{if (imag(_X) == 0)
		return (_CMPLX(_Ty)(_CTR(_Ty)::pow(real(_X), _Y)));
	else
		return (_Pow_int(_CMPLX(_Ty)(_X), _Y)); }
_TMPLT(_Ty) inline
	_CMPLX(_Ty) __cdecl pow(const _Ty& _X, const _CMPLX(_Ty)& _Y)
	{if (imag(_Y) == 0)
		return (_CMPLX(_Ty)(_CTR(_Ty)::pow(_X, real(_Y))));
	else
		return (exp(_Y * _CTR(_Ty)::log(_X))); }
		// TEMPLATE FUNCTION sin
_TMPLT(_Ty) inline
	_CMPLX(_Ty) __cdecl sin(const _CMPLX(_Ty)& _X)
	{return (_CMPLX(_Ty)(
		_CTR(_Ty)::_Cosh(imag(_X), _CTR(_Ty)::sin(real(_X))),
		_CTR(_Ty)::_Sinh(imag(_X), _CTR(_Ty)::cos(real(_X))))); }
		// TEMPLATE FUNCTION sinh
_TMPLT(_Ty) inline
	_CMPLX(_Ty) __cdecl sinh(const _CMPLX(_Ty)& _X)
	{return (_CMPLX(_Ty)(
		_CTR(_Ty)::_Sinh(real(_X), _CTR(_Ty)::cos(imag(_X))),
		_CTR(_Ty)::_Cosh(real(_X), _CTR(_Ty)::sin(imag(_X))))); }
		// TEMPLATE FUNCTION sqrt
_TMPLT(_Ty) inline
	_CMPLX(_Ty) __cdecl sqrt(const _CMPLX(_Ty)& _X)
	{int _Xexp;
	_Ty _Rho = _Fabs(_X, &_Xexp);
	if (_Xexp == 0)
		return (_CMPLX(_Ty)(_Rho, _Rho));
	else
		{_Ty _Remag = _CTR(_Ty)::ldexp(real(_X) < 0
			? - real(_X) : real(_X), -_Xexp);
		_Rho = _CTR(_Ty)::ldexp(_CTR(_Ty)::sqrt(
			2 * (_Remag + _Rho)), _Xexp / 2 - 1);
		if (0 <= real(_X))
			return (_CMPLX(_Ty)(_Rho, imag(_X) / (2 * _Rho)));
		else if (imag(_X) < 0)

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久爱另类一区二区小说| 91在线视频免费观看| 日韩成人一级片| 天堂影院一区二区| 日韩中文字幕区一区有砖一区| 樱花影视一区二区| 一级中文字幕一区二区| 亚洲成年人网站在线观看| 亚洲一区在线视频| 午夜精品视频一区| 日本不卡一二三区黄网| 精品一区二区免费| 国产麻豆精品视频| 国产成人夜色高潮福利影视| www.综合网.com| 一本色道综合亚洲| 欧美日韩在线精品一区二区三区激情| 欧美综合久久久| 欧美精品久久99久久在免费线| 538在线一区二区精品国产| 91麻豆精品国产自产在线| 日韩欧美成人一区二区| 国产日韩欧美电影| 亚洲婷婷综合久久一本伊一区| 亚洲精品免费一二三区| 亚洲福利国产精品| 久久不见久久见中文字幕免费| 国产成a人亚洲精品| 91香蕉国产在线观看软件| 欧美三级电影在线观看| 精品国产一区二区三区久久久蜜月| 精品少妇一区二区三区在线播放 | 激情成人综合网| 国产精品一区专区| 色噜噜狠狠色综合中国| 91精品国产91综合久久蜜臀| 久久久久久免费| 亚洲精品成a人| 麻豆91在线看| 91年精品国产| 欧美大胆一级视频| 日韩一区在线看| 日韩不卡一区二区三区| 国产69精品久久久久777| 欧美三片在线视频观看| 久久女同精品一区二区| 亚洲欧洲综合另类在线| 蜜臀国产一区二区三区在线播放| 粉嫩av一区二区三区粉嫩| 欧美三级在线看| 国产日韩综合av| 午夜激情久久久| 福利电影一区二区| 欧美人xxxx| 国产农村妇女毛片精品久久麻豆 | 亚洲综合男人的天堂| 六月丁香综合在线视频| 一本久久精品一区二区| 亚洲精品在线电影| 亚洲午夜精品一区二区三区他趣| 国产精一区二区三区| 欧美另类变人与禽xxxxx| 中文字幕日韩一区| 老色鬼精品视频在线观看播放| 91麻豆国产香蕉久久精品| 久久久综合激的五月天| 日韩专区欧美专区| 色噜噜狠狠色综合中国| 欧美国产综合一区二区| 精品一区二区三区免费视频| 欧美在线视频你懂得| 国产精品久久久久久久久免费丝袜| 日本女人一区二区三区| 欧美性xxxxxx少妇| 中文字幕亚洲不卡| 国产超碰在线一区| 精品国产123| 免费观看成人av| 欧美专区日韩专区| 亚洲品质自拍视频| 不卡一区二区三区四区| 国产欧美一区二区精品忘忧草| 青娱乐精品在线视频| 欧美久久久久免费| 一区二区免费在线| 色综合久久久久网| 亚洲视频综合在线| 成人手机在线视频| 精品福利在线导航| 精品一区二区三区不卡| 欧美大度的电影原声| 美女高潮久久久| 日韩三级中文字幕| 五月天国产精品| 欧美日韩国产欧美日美国产精品| 亚洲欧美日本韩国| 色婷婷av一区二区| 亚洲乱码国产乱码精品精98午夜| 成人高清视频在线| 国产欧美一区二区在线| 岛国精品在线观看| 久久久久97国产精华液好用吗| 激情综合网av| 精品国产电影一区二区| 国产乱子轮精品视频| 欧美成人精品高清在线播放| 久久精品理论片| 久久新电视剧免费观看| 国产精品一级片| 国产喷白浆一区二区三区| 国产成人精品免费视频网站| 国产欧美日韩中文久久| 国产91精品一区二区麻豆亚洲| 国产精品久久久久久户外露出| 91丝袜国产在线播放| 亚洲综合成人在线视频| 欧美伦理电影网| 老司机午夜精品| 亚洲国产成人午夜在线一区| 9久草视频在线视频精品| 亚洲激情av在线| 欧美日韩国产天堂| 蜜桃久久久久久久| 精品剧情v国产在线观看在线| 国产福利精品导航| ...av二区三区久久精品| 欧美性色黄大片| 麻豆91免费观看| 日本一区二区免费在线| 日本高清不卡在线观看| 蜜桃精品在线观看| 亚洲国产激情av| 欧美天天综合网| 卡一卡二国产精品 | 一区二区成人在线观看| 欧美日韩1区2区| 国产美女视频一区| 日韩美女视频19| 欧美高清你懂得| 国产精品99久久久久久宅男| 亚洲丝袜制服诱惑| 欧美一区二区视频在线观看2020| 国产在线播放一区三区四| 亚洲视频在线观看一区| 5566中文字幕一区二区电影| 国产精品羞羞答答xxdd| 亚洲综合一区在线| 久久精品网站免费观看| 91成人网在线| 国产麻豆午夜三级精品| 一级日本不卡的影视| 久久久精品国产免费观看同学| aaa欧美日韩| 久久不见久久见免费视频1| 亚洲视频1区2区| 日韩女优电影在线观看| 91蜜桃在线免费视频| 久久国产夜色精品鲁鲁99| 亚洲激情第一区| 欧美极品xxx| 91精品免费在线观看| 91丨porny丨中文| 久久国产日韩欧美精品| 亚洲综合在线视频| 久久久久99精品国产片| 在线电影院国产精品| av亚洲产国偷v产偷v自拍| 免播放器亚洲一区| 一区二区三区四区五区视频在线观看| 久久这里只有精品视频网| 欧美日韩国产一级二级| 97se亚洲国产综合在线| 国内精品伊人久久久久av影院| 亚洲一二三四区不卡| 一区在线观看免费| 精品福利av导航| 欧美福利电影网| 91色视频在线| 成人午夜短视频| 国模无码大尺度一区二区三区| 亚洲一区在线电影| 中文字幕日本不卡| 国产午夜精品美女毛片视频| 91精品一区二区三区久久久久久 | 欧美三级电影网| 91视频精品在这里| 成av人片一区二区| 国产精品亚洲综合一区在线观看| 免费人成网站在线观看欧美高清| 亚洲一区二区中文在线| 亚洲欧美成人一区二区三区| 国产亚洲成年网址在线观看| 日韩欧美在线综合网| 欧美三级中文字幕| 欧洲亚洲国产日韩| 一本大道久久a久久综合婷婷 | 欧美激情自拍偷拍| ww亚洲ww在线观看国产| 欧美zozo另类异族| 精品久久久久久最新网址|