📄 gmpstat.h
字号:
/* gmpstat.h *//*Copyright 1999 Free Software Foundation, Inc.This file is part of the GNU MP Library.The GNU MP Library is free software; you can redistribute it and/or modifyit under the terms of the GNU Lesser General Public License as published bythe Free Software Foundation; either version 2.1 of the License, or (at youroption) any later version.The GNU MP Library is distributed in the hope that it will be useful, butWITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITYor FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General PublicLicense for more details.You should have received a copy of the GNU Lesser General Public Licensealong with the GNU MP Library; see the file COPYING.LIB. If not, write tothe Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,MA 02111-1307, USA.*//* This file requires the following header files: gmp.h */#ifndef __GMPSTAT_H__#define __GMPSTAT_H__/* Global debug flag. FIXME: Remove. */extern int g_debug;#define DEBUG_1 0#define DEBUG_2 1/* Max number of dimensions in spectral test. FIXME: Makw dynamic. */#define GMP_SPECT_MAXT 10voidmpf_freqt (mpf_t Kp, mpf_t Km, mpf_t X[], const unsigned long int n);unsigned long intmpz_freqt (mpf_t V, mpz_t X[], unsigned int imax, const unsigned long int n);/* Low level functions. */voidks (mpf_t Kp, mpf_t Km, mpf_t X[], void (P) (mpf_t, mpf_t), const unsigned long int n);voidks_table (mpf_t p, mpf_t val, const unsigned int n);voidx2_table (double t[], unsigned int v);voidspectral_test (mpf_t rop[], unsigned int T, mpz_t a, mpz_t m);voidvz_dot (mpz_t rop, mpz_t V1[], mpz_t V2[], unsigned int n);voidf_floor (mpf_t rop, mpf_t op);voidmerit (mpf_t rop, unsigned int t, mpf_t v, mpz_t m);doublemerit_u (unsigned int t, mpf_t v, mpz_t m);/* From separate source files: */void zdiv_round (mpz_t rop, mpz_t n, mpz_t d);#endif /* !__GMPSTAT_H__ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -