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

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

?? g_lip.h

?? 一個比較通用的大數(shù)運算庫
?? H
?? 第 1 頁 / 共 2 頁
字號:


#ifdef NTL_SINGLE_MUL
#error "do not set NTL_SINGLE_MUL when NTL_GMP_LIP is set"
#endif

#if 1

typedef void *_ntl_gbigint;

#else

/*
 * This way of defining the bigint handle type is a bit non-standard,
 * but better for debugging.
 */

struct _ntl_gbigint_is_opaque { int _x_; };
typedef struct _ntl_gbigint_is_opaque * _ntl_gbigint;

#endif

#define NTL_SP_NBITS NTL_NBITS_MAX
#define NTL_SP_BOUND (1L << NTL_SP_NBITS)
#define NTL_SP_FBOUND ((double) NTL_SP_BOUND)

#define NTL_WSP_NBITS (NTL_BITS_PER_LONG-2)
#define NTL_WSP_BOUND (1L << NTL_WSP_NBITS)

/* define the following so an error is raised */

#define NTL_RADIX ......
#define NTL_NBITSH ......
#define NTL_RADIXM ......
#define NTL_RADIXROOT ......
#define NTL_RADIXROOTM ......
#define NTL_FRADIX_INV ......




#if (defined(__cplusplus) && !defined(NTL_CXX_ONLY))
extern "C" {
#endif


/***********************************************************************

   Basic Functions

***********************************************************************/
    


    void _ntl_gsadd(_ntl_gbigint a, long d, _ntl_gbigint *b);
       /* *b = a + d */

    void _ntl_gadd(_ntl_gbigint a, _ntl_gbigint b, _ntl_gbigint *c);
       /*  *c = a + b */

    void _ntl_gsub(_ntl_gbigint a, _ntl_gbigint b, _ntl_gbigint *c);
       /* *c = a - b */

    void _ntl_gsubpos(_ntl_gbigint a, _ntl_gbigint b, _ntl_gbigint *c);
       /* *c = a - b; assumes a >= b >= 0 */

    void _ntl_gsmul(_ntl_gbigint a, long d, _ntl_gbigint *b);
       /* *b = d * a */

    void _ntl_gmul(_ntl_gbigint a, _ntl_gbigint b, _ntl_gbigint *c);
       /* *c = a * b */

    void _ntl_gsq(_ntl_gbigint a, _ntl_gbigint *c);
       /* *c = a * a */

    long _ntl_gsdiv(_ntl_gbigint a, long b, _ntl_gbigint *q);
       /* (*q) = floor(a/b) and a - floor(a/b)*(*q) is returned;
          error is raised if b == 0;
          if b does not divide a, then sign(*q) == sign(b) */

    void _ntl_gdiv(_ntl_gbigint a, _ntl_gbigint b, _ntl_gbigint *q, _ntl_gbigint *r);
       /* (*q) = floor(a/b) and (*r) = a - floor(a/b)*(*q);
          error is raised if b == 0;
          if b does not divide a, then sign(*q) == sign(b) */

    void _ntl_gmod(_ntl_gbigint a, _ntl_gbigint b, _ntl_gbigint *r);
       /* same as _ntl_gdiv, but only remainder is computed */

    long _ntl_gsmod(_ntl_gbigint a, long d);
       /* same as _ntl_gsdiv, but only remainder is computed */

    void _ntl_gquickmod(_ntl_gbigint *r, _ntl_gbigint b);
       /* *r = *r % b; 
	  The division is performed in place (but may sometimes
	  assumes b > 0 and *r >= 0;
          cause *r to grow by one digit) */

/********************************************************************

   Shifting and bit manipulation

*********************************************************************/


    void _ntl_glshift(_ntl_gbigint n, long k, _ntl_gbigint *a);
       /* *a = sign(n) * (|n| << k);
          shift is in reverse direction for negative k */

    void _ntl_grshift(_ntl_gbigint n, long k, _ntl_gbigint *a);
       /* *a = sign(n) * (|n| >> k);
          shift is in reverse direction for negative k */
    
    long _ntl_gmakeodd(_ntl_gbigint *n);
       /*
          if (n != 0)
              *n = m;
              return (k such that n == 2 ^ k * m with m odd);
          else
              return (0); 
        */

    long _ntl_gnumtwos(_ntl_gbigint n);
        /* return largest e such that 2^e divides n, or zero if n is zero */

    long _ntl_godd(_ntl_gbigint a);
       /* returns 1 if n is odd and 0 if it is even */

    long _ntl_gbit(_ntl_gbigint a, long p);
       /* returns p-th bit of a, where the low order bit is indexed by 0;
          p out of range returns 0 */

    long _ntl_gsetbit(_ntl_gbigint *a, long p);
       /* returns original value of p-th bit of |a|, and replaces
          p-th bit of a by 1 if it was zero;
          error if p < 0 */

    long _ntl_gswitchbit(_ntl_gbigint *a, long p);
       /* returns original value of p-th bit of |a|, and switches
          the value of p-th bit of a;
          p starts counting at 0;
          error if p < 0 */


     void _ntl_glowbits(_ntl_gbigint a, long k, _ntl_gbigint *b);
        /* places k low order bits of |a| in b */ 

     long _ntl_gslowbits(_ntl_gbigint a, long k);
        /* returns k low order bits of |a| */

    long _ntl_gweights(long a);
        /* returns Hamming weight of |a| */

    long _ntl_gweight(_ntl_gbigint a);
        /* returns Hamming weight of |a| */

    void _ntl_gand(_ntl_gbigint a, _ntl_gbigint b, _ntl_gbigint *c);
        /* c gets bit pattern `bits of |a|` and `bits of |b|` */

    void _ntl_gor(_ntl_gbigint a, _ntl_gbigint b, _ntl_gbigint *c);
        /* c gets bit pattern `bits of |a|` inclusive or `bits of |b|` */

    void _ntl_gxor(_ntl_gbigint a, _ntl_gbigint b, _ntl_gbigint *c);
        /* c gets bit pattern `bits of |a|` exclusive or `bits of |b|` */




/************************************************************************

   Comparison

*************************************************************************/

    long _ntl_gcompare(_ntl_gbigint a, _ntl_gbigint b);
       /*
          if (a > b)
              return (1);
          if (a == b)
              return (0);
          if (a < b)
              return (-1);
         */

    long _ntl_gscompare(_ntl_gbigint a, long b);
       /* single-precision version of the above */

    long _ntl_giszero (_ntl_gbigint a);
       /* test for 0 */


    long _ntl_gsign(_ntl_gbigint a);
       /* 
          if (a > 0)
              return (1);
          if (a == 0)
              return (0);
          if (a < 0)
              return (-1);
        */

    void _ntl_gabs(_ntl_gbigint *a);
       /* *a = |a| */

    void _ntl_gnegate(_ntl_gbigint *a);
       /* *a = -a */

    void _ntl_gcopy(_ntl_gbigint a, _ntl_gbigint *b);
       /* *b = a;  */

    void _ntl_gswap(_ntl_gbigint *a, _ntl_gbigint *b);
       /* swap a and b (by swaping pointers) */

    long _ntl_g2log(_ntl_gbigint a);
       /* number of bits in |a|; returns 0 if a = 0 */

    long _ntl_g2logs(long a);
        /* single-precision version of the above */


/********************************************************************

   Conversion

*********************************************************************/
        
    void _ntl_gzero(_ntl_gbigint *a);
       /* *a = 0;  */

    void _ntl_gone(_ntl_gbigint *a);
       /* *a = 1 */

    void _ntl_gintoz(long d, _ntl_gbigint *a);
       /* *a = d;  */


    void _ntl_guintoz(unsigned long d, _ntl_gbigint *a);
       /* *a = d;  space is allocated  */

    long _ntl_gtoint(_ntl_gbigint a);
       /* converts a to a long;  overflow results in value
          mod 2^{NTL_BITS_PER_LONG}. */

    unsigned long _ntl_gtouint(_ntl_gbigint a);
       /* converts a to a long;  overflow results in value
          mod 2^{NTL_BITS_PER_LONG}. */

   


    double _ntl_gdoub(_ntl_gbigint n);
       /* converts a to a double;  no overflow check */

    long _ntl_ground_correction(_ntl_gbigint a, long k, long residual);
       /* k >= 1, |a| >= 2^k, and residual is 0, 1, or -1.
          The result is what we should add to (a >> k) to round
          x = a/2^k to the nearest integer using IEEE-like rounding rules
          (i.e., round to nearest, and round to even to break ties).
          The result is either 0 or sign(a).
          If residual is not zero, it is as if x were replaced by
          x' = x + residual*2^{-(k+1)}.
          This can be used to break ties when x is exactly
          half way between two integers. */

    double _ntl_glog(_ntl_gbigint a);
       /* computes log(a), protecting against overflow */

    void _ntl_gdoubtoz(double a, _ntl_gbigint *x);

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
色狠狠综合天天综合综合| 国产一区二区在线观看免费| 日韩区在线观看| 99久久免费国产| 精品在线观看视频| 亚洲va在线va天堂| 中文字幕免费不卡在线| 欧美成人性福生活免费看| 日本精品视频一区二区三区| 国产成人综合精品三级| 人人狠狠综合久久亚洲| 亚洲综合色在线| 最新成人av在线| 中文一区二区完整视频在线观看| 91麻豆精品91久久久久久清纯| 一本大道久久a久久精品综合| 国模冰冰炮一区二区| 日韩一区精品字幕| 亚洲午夜免费视频| 一区二区三区在线观看动漫 | 91久久一区二区| 国产91精品露脸国语对白| 久久精品国产精品亚洲红杏| 亚洲成人免费电影| 亚洲一区二区三区在线播放| 中文字幕日韩av资源站| 中文字幕免费在线观看视频一区| 久久综合色一综合色88| 日韩精品专区在线影院重磅| 欧美一区二视频| 日韩欧美一区二区在线视频| 欧美日韩一区二区三区不卡| 欧美性猛交xxxxxxxx| 色94色欧美sute亚洲线路一久| 99久久精品免费看| 91视频国产观看| 色综合久久久久综合体桃花网| 成人一二三区视频| 成人av在线一区二区| 国产.精品.日韩.另类.中文.在线.播放| 久久精品国产**网站演员| 日本怡春院一区二区| 日本视频中文字幕一区二区三区| 日本不卡视频在线观看| 另类欧美日韩国产在线| 国内精品久久久久影院一蜜桃| 激情五月激情综合网| 国产尤物一区二区在线| 国产麻豆精品一区二区| 成人美女视频在线看| 91小视频在线观看| 欧美日韩一级视频| 日韩免费高清av| 国产亚洲福利社区一区| 中文字幕不卡三区| 一区二区欧美视频| 视频一区国产视频| 黄色日韩网站视频| 成人av免费在线播放| 色噜噜狠狠色综合欧洲selulu| 欧美少妇xxx| 精品国产一区a| 国产精品白丝在线| 一个色在线综合| 久久99这里只有精品| 成人动漫一区二区在线| 欧美视频一区二区在线观看| 日韩三级伦理片妻子的秘密按摩| 久久久久久久久久美女| 亚洲男人的天堂在线aⅴ视频| 午夜精品久久久| 国产精品羞羞答答xxdd| 91福利区一区二区三区| 精品国产精品网麻豆系列| 国产精品久久久久四虎| 午夜不卡在线视频| 国产激情一区二区三区桃花岛亚洲| kk眼镜猥琐国模调教系列一区二区 | 精品av久久707| 综合亚洲深深色噜噜狠狠网站| 亚洲成av人片观看| 国产麻豆视频精品| 欧美日韩国产影片| 国产精品乱码一区二区三区软件| 亚洲成人在线网站| 国产69精品一区二区亚洲孕妇| 91福利在线观看| 久久久久国产成人精品亚洲午夜| 亚洲综合一区在线| 国产成人在线色| 3751色影院一区二区三区| 国产精品美女久久久久久久久久久 | 久久久国产午夜精品| 亚洲综合丝袜美腿| 成人综合激情网| 欧美成人午夜电影| 亚洲午夜久久久久久久久电影网| 国产麻豆日韩欧美久久| 在线播放中文一区| 亚洲欧美日韩国产另类专区| 国产一区二区网址| 在线成人免费视频| 亚洲欧美日韩小说| 风流少妇一区二区| 日韩免费电影一区| 视频在线观看国产精品| 91理论电影在线观看| 久久久99精品久久| 久久国内精品自在自线400部| 在线视频观看一区| 中文字幕一区二区视频| 国产一区三区三区| 日韩欧美在线123| 视频一区二区欧美| 欧美在线免费观看亚洲| 最新国产成人在线观看| 国产成人免费视| 久久久久久亚洲综合影院红桃| 视频一区中文字幕国产| 欧美视频一区在线观看| 亚洲精选视频免费看| 北条麻妃国产九九精品视频| 国产日韩欧美精品综合| 国产老肥熟一区二区三区| 欧美大片拔萝卜| 蜜臀av性久久久久蜜臀aⅴ四虎| 欧美日韩免费高清一区色橹橹 | 制服丝袜av成人在线看| 五月婷婷色综合| 欧美乱妇23p| 日韩主播视频在线| 日韩午夜av电影| 免费观看一级特黄欧美大片| 日韩欧美高清dvd碟片| 久久69国产一区二区蜜臀 | 亚洲伦理在线精品| 97久久精品人人做人人爽| 日韩毛片精品高清免费| 色欧美片视频在线观看| 亚洲三级久久久| 欧美亚洲国产一卡| 午夜不卡av在线| 欧美一级黄色片| 激情综合一区二区三区| 久久久久99精品一区| 国产激情视频一区二区三区欧美 | 亚洲美女偷拍久久| 欧美日韩在线播放| 毛片一区二区三区| 国产亚洲短视频| 色综合视频一区二区三区高清| 一区二区三区色| 欧美日韩精品电影| 精品一区二区在线播放| 日本一区二区三区电影| www.日韩精品| 亚洲国产精品欧美一二99| 91精品国模一区二区三区| 狠狠狠色丁香婷婷综合久久五月| 欧美激情一区在线观看| 91福利精品视频| 美女高潮久久久| 国产精品每日更新| 在线免费观看不卡av| 另类的小说在线视频另类成人小视频在线| 日韩精品一区二区三区在线| 丁香桃色午夜亚洲一区二区三区| 亚洲免费在线观看视频| 国产一区二区视频在线播放| 亚洲综合在线电影| 欧美精品一区二区三区蜜桃视频| 福利一区二区在线观看| 一级日本不卡的影视| 欧美日韩一区国产| 亚洲一区二区在线免费观看视频| av在线播放一区二区三区| 一区在线中文字幕| 日韩一区二区免费在线观看| 国产成人综合亚洲网站| 亚洲伊人伊色伊影伊综合网| 久久在线观看免费| 日本韩国欧美三级| 国产电影精品久久禁18| 图片区小说区国产精品视频| 国产精品全国免费观看高清 | 奇米综合一区二区三区精品视频| 国产欧美日韩视频在线观看| 欧美日韩你懂得| av中文一区二区三区| 免费在线看成人av| 亚洲精品伦理在线| 国产日韩欧美高清在线| 日韩一区二区精品在线观看| 92国产精品观看| 国产精品123区| 日韩国产在线一| 亚洲黄色在线视频| 中文字幕欧美三区| 精品久久久久久无| 欧美色图在线观看|