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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? xdouble.txt

?? 大數(shù)運算類
?? TXT
字號:


/**************************************************************************\

MODULE: xdouble 

SUMMARY:

The class xdouble is used to represent floating point numbers with the
same precision as a 'double', but with extended exponent range
(offering a few more bits than that of a 'long' for the exponent).

The programming interface for xdoubles is almost identical to that of
ordinary doubles.


\**************************************************************************/

#include <NTL/ZZ.h>


class xdouble {

public:

xdouble(); // = 0

xdouble(const xdouble& a);  // copy constructor

xdouble& operator=(const xdouble& a);  // assignment operator
xdouble& operator=(double a);

~xdouble();


double mantissa() const;  // read-only access to mantissa
long exponent() const;  // read-only access to exponenent



static void SetOutputPrecision(long p);
// This sets the number of decimal digits to be output.  Default is
// 10.

static long OutputPrecision();
// returns current output precision.

};



/**************************************************************************\

                             Arithmetic Operations

The following are the standard arithmetic operators, whose meaning should 
be clear.

\**************************************************************************/


xdouble operator+(const xdouble& a, const xdouble& b);
xdouble operator-(const xdouble& a, const xdouble& b);
xdouble operator*(const xdouble& a, const xdouble& b);
xdouble operator/(const xdouble& a, const xdouble& b);

// PROMOTIONS: +, -, *, / promote double to xdouble on (a, b).

xdouble operator-(const xdouble& a);

xdouble& operator+=(xdouble& a, const xdouble& b);
xdouble& operator+=(xdouble& a, double b);

xdouble& operator-=(xdouble& a, const xdouble& b);
xdouble& operator-=(xdouble& a, double b);

xdouble& operator*=(xdouble& a, const xdouble& b);
xdouble& operator*=(xdouble& a, double b);

xdouble& operator/=(xdouble& a, const xdouble& b);
xdouble& operator/=(xdouble& a, xdouble b);

xdouble& operator++(xdouble& a); // prefix
void operator++(xdouble& a, int); // postfix

xdouble& operator--(xdouble& a); // prefix
void operator--(xdouble& a, int); // postfix



/**************************************************************************\

                                  Comparison

\**************************************************************************/

long sign(const xdouble& a);
// returns sign (+1, -1, 0) of a

long compare(const xdouble& a, const xdouble& b); 
// returns sign of a - b

long operator==(const xdouble& a, const xdouble& b);
long operator!=(const xdouble& a, const xdouble& b);
long operator<=(const xdouble& a, const xdouble& b);
long operator>=(const xdouble& a, const xdouble& b);
long operator <(const xdouble& a, const xdouble& b);
long operator >(const xdouble& a, const xdouble& b);

// PROMOTIONS: compare and operators ==, ..., > promote double to xdouble
// on (a, b).



/**************************************************************************\

                               Input/Output
Input Syntax:

<number>: [ "-" ] <unsigned-number>
<unsigned-number>: <dotted-number> [ <e-part> ] | <e-part>
<dotted-number>: <digits> | <digits> "." <digits> | "." <digits> | <digits> "."
<digits>: <digit> <digits> | <digit>
<digit>: "0" | ... | "9"
<e-part>: ( "E" | "e" ) [ "+" | "-" ] <digits>

Examples of valid input:

17 1.5 0.5 .5  5.  -.5 e10 e-10 e+10 1.5e10 .5e10 .5E10

Note that the number of decimal digits of precision that are used
for output can be set to any number p >= 1 by calling
the routine xdouble::SetOutputPrecision(p).  
The default value of p is 10.
The current value of p is returned by a call to xdouble::OutputPrecision().

\**************************************************************************/



ostream& operator<<(ostream& s, const xdouble& a);

istream& operator>>(istream& s, xdouble& x);


/**************************************************************************\

                                  Miscellaneous

\**************************************************************************/



xdouble trunc(const xdouble& a);  // returns integer obtained by truncating
xdouble floor(const xdouble& a);  // returns greatest integer <= a
xdouble ceil(const xdouble& a);   // returns smallest integer >= a
xdouble fabs(const xdouble& a);   // returns |a|
xdouble sqrt(const xdouble& a);   // returns a^{1/2}; error is raised if a < 0

double log(const xdouble& a);  // returns log(a) (note return val is double!)
xdouble xexp(double a);        // returns exp(a) (note argument is double!)



void power(xdouble& z, const xdouble& a, const ZZ& e);
xdouble power(const xdouble& a, const ZZ& e);

void power(xdouble& z, const xdouble& a, long e);
xdouble power(const xdouble& a, long e);
// z = a^e, e may be negative

void power2(xdouble& z, long e);
xdouble power2_xdouble(long e);
// z = 2^e, e may be negative

void MulAdd(xdouble& z, const xdouble& a, const xdouble& b, const xdouble& c);
xdouble MulAdd(const xdouble& a, const xdouble& b, const xdouble& c);
// z = a + b*c, but faster

void MulSub(xdouble& z, const xdouble& a, const xdouble& b, const xdouble& c);
xdouble MulSub(const xdouble& a, const xdouble& b, const xdouble& c);
// z = a - b*c, but faster


/**************************************************************************\

Implementation details:

An xdouble is represented as a mantissa/exponent pair (x, e), where x
is a double and e is a long.  The real number represented by (x, e) is
x * NTL_XD_BOUND^e, where

  NTL_XD_BOUND = NTL_XD_HBOUND^2, and
  NTL_XD_HBOUND = 2^{(max(NTL_DOUBLE_PRECISION,NTL_BITS_PER_LONG)+4)}.

Also, the mantissa x satisfies 1/NTL_XD_HBOUND <= |x| <= NTL_XD_HBOUND, except
that the number 0 is always represented as (0, 0).  
Both NTL_XD_BOUND and NTL_XD_HBOUND are macros defined in <NTL/xdouble.h>.

SIZE INVARIANT: |e| < 2^(NTL_BITS_PER_LONG-4).

\**************************************************************************/

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
成人激情文学综合网| 欧美一级高清片| 亚洲三级电影网站| 中文字幕精品一区二区三区精品| 一区二区在线观看视频| 91国产福利在线| 26uuu色噜噜精品一区| 亚洲综合一区二区精品导航| 成人免费毛片嘿嘿连载视频| 91精品欧美综合在线观看最新| 国产精品美女视频| 国产在线一区二区综合免费视频| 欧美日本不卡视频| 亚洲精品国产无套在线观| 国产成+人+日韩+欧美+亚洲| 日韩精品在线一区二区| 丝袜美腿成人在线| 欧美在线你懂的| 亚洲精品五月天| av成人动漫在线观看| 日本一区二区三区国色天香 | 欧美久久一二区| 亚洲免费观看高清在线观看| 成人动漫一区二区在线| 亚洲国产精品v| 国产成人aaaa| 国产欧美一区二区精品婷婷 | 亚洲国产成人高清精品| a亚洲天堂av| 最新高清无码专区| 97久久精品人人做人人爽50路| 国产精品素人一区二区| 国产a区久久久| 国产精品网站在线播放| 风间由美一区二区三区在线观看| 久久看人人爽人人| 国产成人精品免费网站| 国产精品久久久久久久久搜平片 | 欧美激情一区二区三区全黄| 国产精品一区二区三区乱码 | 久久99热99| 91麻豆精品国产91久久久使用方法| 亚洲大片精品永久免费| 欧美美女bb生活片| 美女网站色91| 亚洲国产精品成人综合色在线婷婷 | 欧美电影精品一区二区| 国产剧情一区二区三区| 国产精品久久二区二区| 一本一道综合狠狠老| 一区二区三区精品在线| 欧美日韩在线直播| 老司机午夜精品| 久久精品一区二区三区不卡牛牛 | 欧美视频精品在线观看| 奇米影视一区二区三区小说| 久久精品男人天堂av| 91网站在线观看视频| 午夜国产不卡在线观看视频| 精品日本一线二线三线不卡| 国产v综合v亚洲欧| 亚洲一区二区三区四区不卡| 日韩一区二区精品葵司在线| 成人在线视频一区二区| 亚洲一区二区三区四区中文字幕| 欧美一二三在线| 91在线高清观看| 日本不卡视频在线| 亚洲欧洲韩国日本视频| 欧美性受xxxx黑人xyx性爽| 久久99国产精品久久99果冻传媒| 亚洲丝袜精品丝袜在线| 日韩午夜激情免费电影| 成人午夜看片网址| 日韩精品乱码av一区二区| 日本一区二区在线不卡| 91麻豆精品国产91| 91亚洲永久精品| 精品亚洲成a人在线观看| 亚洲女女做受ⅹxx高潮| 久久综合国产精品| 欧美偷拍一区二区| 欧美成人女星排名| 色香蕉久久蜜桃| 国产精品伊人色| 蜜桃视频在线观看一区| 亚洲主播在线观看| 中文字幕一区二区视频| 2021中文字幕一区亚洲| 欧美高清性hdvideosex| 在线观看视频欧美| 丁香一区二区三区| 久久电影国产免费久久电影| 香蕉乱码成人久久天堂爱免费| 中文一区二区在线观看| www欧美成人18+| 91精品在线一区二区| 欧美日韩视频一区二区| 94-欧美-setu| 国产91精品一区二区麻豆亚洲| 久久精品国产一区二区三区免费看| 亚洲欧美激情插 | 精品成人一区二区三区| 欧美日韩亚洲国产综合| 色哦色哦哦色天天综合| 成人av网在线| 成人动漫中文字幕| 丰满少妇在线播放bd日韩电影| 久久99国内精品| 久久精工是国产品牌吗| 日本中文字幕一区二区视频 | 精品一区二区三区在线播放 | 高清不卡一二三区| 国产精品一区二区在线看| 韩国精品主播一区二区在线观看 | 成人高清在线视频| 国产福利电影一区二区三区| 国产精品亚洲综合一区在线观看| 国产中文一区二区三区| 激情久久五月天| 国产一区二区在线影院| 国产在线精品免费av| 国产麻豆视频精品| 成人国产电影网| 91麻豆国产福利在线观看| 91福利小视频| 欧美日韩国产a| 欧美一二三在线| 精品国产sm最大网站| 欧美激情中文不卡| 亚洲免费大片在线观看| 亚洲国产日产av| 青草av.久久免费一区| 理论片日本一区| 国产成人av一区二区三区在线| 国产成人亚洲综合色影视| 成人美女视频在线观看18| 99麻豆久久久国产精品免费优播| 一本一道波多野结衣一区二区| 欧美日本韩国一区二区三区视频| 欧美一区二区三区在线观看| 久久久另类综合| 亚洲免费在线电影| 久久99日本精品| 99天天综合性| 欧美久久高跟鞋激| 国产亚洲精品中文字幕| 亚洲综合图片区| 美女诱惑一区二区| 99久久精品费精品国产一区二区| 欧美色偷偷大香| 久久久噜噜噜久久中文字幕色伊伊 | 国产性色一区二区| 一区二区三区四区五区视频在线观看| 日韩电影免费在线| 成人动漫视频在线| 欧美一区二区三区四区五区| 国产日产精品1区| 午夜欧美视频在线观看| 国产.欧美.日韩| 欧美久久婷婷综合色| 中文字幕一区二区三区不卡| 日韩av一区二| 一本一本久久a久久精品综合麻豆| 日韩一区二区三区在线观看| 国产精品久久福利| 美女国产一区二区三区| 欧美性猛交一区二区三区精品| 日韩欧美国产一区二区三区| 日韩一区有码在线| 国产成人亚洲精品狼色在线| 91精品国产色综合久久ai换脸 | 午夜免费久久看| 成人爽a毛片一区二区免费| 欧美精品三级在线观看| 亚洲图片你懂的| 床上的激情91.| 欧美成人a在线| 日韩国产在线观看| 一本色道久久综合亚洲91| 国产日产欧产精品推荐色| 美女mm1313爽爽久久久蜜臀| 欧美日韩一二区| 亚洲精品欧美激情| eeuss鲁一区二区三区| 国产午夜亚洲精品午夜鲁丝片| 日韩av一区二区在线影视| 在线观看精品一区| 综合中文字幕亚洲| 成人永久aaa| 国产精品国产三级国产aⅴ中文 | 久久国产三级精品| 91精品国产一区二区三区蜜臀| 亚洲国产日韩一区二区| 色94色欧美sute亚洲13| 亚洲欧美韩国综合色| 91色婷婷久久久久合中文| 18欧美乱大交hd1984| 91视频免费观看| 一区二区三区自拍|