mirror of
https://github.com/vale981/arb
synced 2025-03-04 17:01:40 -05:00
include flint/foo.h instead of foo.h
This commit is contained in:
parent
330d807ede
commit
80640c87e2
94 changed files with 121 additions and 121 deletions
|
@ -23,7 +23,7 @@
|
|||
|
||||
******************************************************************************/
|
||||
|
||||
#include "fmpz_poly.h"
|
||||
#include "flint/fmpz_poly.h"
|
||||
#include "acb.h"
|
||||
|
||||
void _gamma_rf_bsplit(fmpz * A, ulong a, ulong b);
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
******************************************************************************/
|
||||
|
||||
#include "fmpz_poly.h"
|
||||
#include "flint/fmpz_poly.h"
|
||||
#include "acb.h"
|
||||
|
||||
void rising_difference_polynomial(fmpz * s, fmpz * c, ulong m);
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
******************************************************************************/
|
||||
|
||||
#include "arith.h"
|
||||
#include "flint/arith.h"
|
||||
#include "acb_poly.h"
|
||||
|
||||
int main()
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
******************************************************************************/
|
||||
|
||||
#include "arith.h"
|
||||
#include "flint/arith.h"
|
||||
#include "acb_poly.h"
|
||||
|
||||
int main()
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
******************************************************************************/
|
||||
|
||||
#include "arith.h"
|
||||
#include "flint/arith.h"
|
||||
#include "acb_poly.h"
|
||||
|
||||
int main()
|
||||
|
|
|
@ -23,8 +23,8 @@
|
|||
|
||||
******************************************************************************/
|
||||
|
||||
#include "flint/double_extras.h"
|
||||
#include "acb_hypgeom.h"
|
||||
#include "double_extras.h"
|
||||
|
||||
#define LOG2 0.69314718055994530942
|
||||
#define EXP1 2.7182818284590452354
|
||||
|
|
|
@ -33,10 +33,10 @@
|
|||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include "flint/fmpz_mat.h"
|
||||
#include "flint/fmpq_mat.h"
|
||||
#include "arb.h"
|
||||
#include "acb.h"
|
||||
#include "fmpz_mat.h"
|
||||
#include "fmpq_mat.h"
|
||||
#include "arb_mat.h"
|
||||
#include "acb_poly.h"
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
******************************************************************************/
|
||||
|
||||
#include "double_extras.h"
|
||||
#include "flint/double_extras.h"
|
||||
#include "acb_mat.h"
|
||||
#include "bool_mat.h"
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
#define ACB_MODULAR_H
|
||||
|
||||
#include <stdio.h>
|
||||
#include "fmpz_poly.h"
|
||||
#include "flint/fmpz_poly.h"
|
||||
#include "acb.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
|
@ -25,8 +25,6 @@
|
|||
|
||||
#include "acb_modular.h"
|
||||
|
||||
#include "profiler.h"
|
||||
|
||||
int main()
|
||||
{
|
||||
slong iter;
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
******************************************************************************/
|
||||
|
||||
#include "acb_modular.h"
|
||||
#include "arith.h"
|
||||
#include "flint/arith.h"
|
||||
|
||||
static void
|
||||
acb_modular_epsilon_arg_naive(fmpq_t arg, const psl2z_t g)
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
******************************************************************************/
|
||||
|
||||
#include "fmpz_poly.h"
|
||||
#include "flint/fmpz_poly.h"
|
||||
#include "acb_modular.h"
|
||||
|
||||
/* reference values h_(-d)(2015) mod 31337 computed using sage */
|
||||
|
|
|
@ -23,9 +23,9 @@
|
|||
|
||||
******************************************************************************/
|
||||
|
||||
#include "flint/arith.h"
|
||||
#include "flint/double_extras.h"
|
||||
#include "arb.h"
|
||||
#include "arith.h"
|
||||
#include "double_extras.h"
|
||||
|
||||
/* \sum_{k=0}^{a-1} \frac{k^n}{k!} */
|
||||
/* b = a * \frac{(a-1)^n}{(a-1)!} */
|
||||
|
|
|
@ -23,8 +23,8 @@
|
|||
|
||||
******************************************************************************/
|
||||
|
||||
#include "flint/arith.h"
|
||||
#include "arb.h"
|
||||
#include "arith.h"
|
||||
|
||||
void arb_gamma_stirling_choose_param(int * reflect, slong * r, slong * n,
|
||||
const arb_t x, int use_reflect, int digamma, slong prec);
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
******************************************************************************/
|
||||
|
||||
#include "fmpz_poly.h"
|
||||
#include "flint/fmpz_poly.h"
|
||||
#include "arb.h"
|
||||
|
||||
void
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
******************************************************************************/
|
||||
|
||||
#include "arith.h"
|
||||
#include "flint/arith.h"
|
||||
#include "arb.h"
|
||||
|
||||
void
|
||||
|
|
|
@ -23,8 +23,8 @@
|
|||
|
||||
******************************************************************************/
|
||||
|
||||
#include "flint/mpn_extras.h"
|
||||
#include "arb.h"
|
||||
#include "mpn_extras.h"
|
||||
|
||||
#define TMP_ALLOC_LIMBS(__n) TMP_ALLOC((__n) * sizeof(mp_limb_t))
|
||||
#define MAGLIM(prec) FLINT_MAX(65536, (4*prec))
|
||||
|
|
|
@ -26,11 +26,9 @@
|
|||
#include "arb.h"
|
||||
#include "arb_poly.h"
|
||||
|
||||
|
||||
|
||||
/* include minpoly code here until it appears in a flint release */
|
||||
#include "fmpz_poly.h"
|
||||
#include "ulong_extras.h"
|
||||
#include "flint/fmpz_poly.h"
|
||||
#include "flint/ulong_extras.h"
|
||||
|
||||
/* Use a lookup table for small n. We skip 53, 59 and 61, as the
|
||||
coefficients do not fit in 16 bits. */
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
******************************************************************************/
|
||||
|
||||
#include "arb.h"
|
||||
#include "long_extras.h"
|
||||
#include "flint/long_extras.h"
|
||||
|
||||
int main()
|
||||
{
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
******************************************************************************/
|
||||
|
||||
#include "arb.h"
|
||||
#include "ulong_extras.h"
|
||||
#include "flint/ulong_extras.h"
|
||||
|
||||
int main()
|
||||
{
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
******************************************************************************/
|
||||
|
||||
#include "arb.h"
|
||||
#include "long_extras.h"
|
||||
#include "flint/long_extras.h"
|
||||
|
||||
int main()
|
||||
{
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
******************************************************************************/
|
||||
|
||||
#include "arb.h"
|
||||
#include "ulong_extras.h"
|
||||
#include "flint/ulong_extras.h"
|
||||
|
||||
int main()
|
||||
{
|
||||
|
|
|
@ -23,8 +23,8 @@
|
|||
|
||||
******************************************************************************/
|
||||
|
||||
#include "flint/mpn_extras.h"
|
||||
#include "arb.h"
|
||||
#include "mpn_extras.h"
|
||||
|
||||
int main()
|
||||
{
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
******************************************************************************/
|
||||
|
||||
#include "arb.h"
|
||||
#include "long_extras.h"
|
||||
#include "flint/long_extras.h"
|
||||
|
||||
int main()
|
||||
{
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
******************************************************************************/
|
||||
|
||||
#include "arb.h"
|
||||
#include "ulong_extras.h"
|
||||
#include "flint/ulong_extras.h"
|
||||
|
||||
int main()
|
||||
{
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
******************************************************************************/
|
||||
|
||||
#include "arith.h"
|
||||
#include "flint/arith.h"
|
||||
#include "arb.h"
|
||||
|
||||
int main()
|
||||
|
|
|
@ -23,8 +23,8 @@
|
|||
|
||||
******************************************************************************/
|
||||
|
||||
#include "flint/mpn_extras.h"
|
||||
#include "arb.h"
|
||||
#include "mpn_extras.h"
|
||||
|
||||
int main()
|
||||
{
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
******************************************************************************/
|
||||
|
||||
#include "arb.h"
|
||||
#include "long_extras.h"
|
||||
#include "flint/long_extras.h"
|
||||
|
||||
int main()
|
||||
{
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
******************************************************************************/
|
||||
|
||||
#include "arb.h"
|
||||
#include "ulong_extras.h"
|
||||
#include "flint/ulong_extras.h"
|
||||
|
||||
int main()
|
||||
{
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
******************************************************************************/
|
||||
|
||||
#include "arith.h"
|
||||
#include "flint/arith.h"
|
||||
#include "arb_poly.h"
|
||||
|
||||
int main()
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
******************************************************************************/
|
||||
|
||||
#include "arith.h"
|
||||
#include "flint/arith.h"
|
||||
#include "arb_poly.h"
|
||||
|
||||
int main()
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
******************************************************************************/
|
||||
|
||||
#include "arith.h"
|
||||
#include "flint/arith.h"
|
||||
#include "arb_poly.h"
|
||||
|
||||
int main()
|
||||
|
|
|
@ -23,8 +23,8 @@
|
|||
|
||||
******************************************************************************/
|
||||
|
||||
#include "flint/mpn_extras.h"
|
||||
#include "arb.h"
|
||||
#include "mpn_extras.h"
|
||||
|
||||
int main()
|
||||
{
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
******************************************************************************/
|
||||
|
||||
#include "arb.h"
|
||||
#include "long_extras.h"
|
||||
#include "flint/long_extras.h"
|
||||
|
||||
int main()
|
||||
{
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
******************************************************************************/
|
||||
|
||||
#include "arb.h"
|
||||
#include "ulong_extras.h"
|
||||
#include "flint/ulong_extras.h"
|
||||
|
||||
int main()
|
||||
{
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
******************************************************************************/
|
||||
|
||||
#include "arb.h"
|
||||
#include "long_extras.h"
|
||||
#include "flint/long_extras.h"
|
||||
|
||||
int main()
|
||||
{
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
******************************************************************************/
|
||||
|
||||
#include "arb.h"
|
||||
#include "ulong_extras.h"
|
||||
#include "flint/ulong_extras.h"
|
||||
|
||||
int main()
|
||||
{
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
******************************************************************************/
|
||||
|
||||
#include <math.h>
|
||||
#include "arith.h"
|
||||
#include "flint/arith.h"
|
||||
#include "arb.h"
|
||||
|
||||
/* The constant factor is nearly optimal up to at least 300000 bits. */
|
||||
|
|
|
@ -33,10 +33,10 @@
|
|||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include "flint/fmpz_mat.h"
|
||||
#include "flint/fmpq_mat.h"
|
||||
#include "flint/perm.h"
|
||||
#include "arb.h"
|
||||
#include "fmpz_mat.h"
|
||||
#include "fmpq_mat.h"
|
||||
#include "perm.h"
|
||||
#include "arb_poly.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
|
@ -23,8 +23,7 @@
|
|||
|
||||
******************************************************************************/
|
||||
|
||||
#include "fmpz_mat.h"
|
||||
#include "double_extras.h"
|
||||
#include "flint/double_extras.h"
|
||||
#include "arb_mat.h"
|
||||
#include "bool_mat.h"
|
||||
|
||||
|
|
|
@ -33,10 +33,10 @@
|
|||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include "flint/fmpz_poly.h"
|
||||
#include "flint/fmpq_poly.h"
|
||||
#include "arb.h"
|
||||
#include "acb.h"
|
||||
#include "fmpz_poly.h"
|
||||
#include "fmpq_poly.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
|
2
arf.h
2
arf.h
|
@ -37,7 +37,7 @@
|
|||
|
||||
#include <stdio.h>
|
||||
#include <math.h>
|
||||
#include "flint.h"
|
||||
#include "flint/flint.h"
|
||||
#include "fmpr.h"
|
||||
#include "mag.h"
|
||||
|
||||
|
|
|
@ -23,8 +23,8 @@
|
|||
|
||||
******************************************************************************/
|
||||
|
||||
#include "flint/mpn_extras.h"
|
||||
#include "arf.h"
|
||||
#include "mpn_extras.h"
|
||||
|
||||
#if !defined(__MPIR_VERSION)
|
||||
#define USE_GMP_DIV_Q 1
|
||||
|
|
|
@ -23,8 +23,8 @@
|
|||
|
||||
******************************************************************************/
|
||||
|
||||
#include "flint/double_extras.h"
|
||||
#include "arf.h"
|
||||
#include "double_extras.h"
|
||||
|
||||
/* most double: (2^53-1) * 2^971 */
|
||||
/* least normal: 2^-1022 */
|
||||
|
|
|
@ -23,8 +23,8 @@
|
|||
|
||||
******************************************************************************/
|
||||
|
||||
#include "flint/double_extras.h"
|
||||
#include "arf.h"
|
||||
#include "double_extras.h"
|
||||
|
||||
void
|
||||
arf_set_d(arf_t x, double v)
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
******************************************************************************/
|
||||
|
||||
#include "arf.h"
|
||||
#include "long_extras.h"
|
||||
#include "flint/long_extras.h"
|
||||
|
||||
int
|
||||
arf_add_si_naive(arf_t z, const arf_t x, slong y, slong prec, arf_rnd_t rnd)
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
******************************************************************************/
|
||||
|
||||
#include "arf.h"
|
||||
#include "ulong_extras.h"
|
||||
#include "flint/ulong_extras.h"
|
||||
|
||||
int
|
||||
arf_add_ui_naive(arf_t z, const arf_t x, ulong y, slong prec, arf_rnd_t rnd)
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
******************************************************************************/
|
||||
|
||||
#include "arf.h"
|
||||
#include "long_extras.h"
|
||||
#include "flint/long_extras.h"
|
||||
|
||||
int
|
||||
arf_addmul_si_naive(arf_t z, const arf_t x, slong y, slong prec, arf_rnd_t rnd)
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
******************************************************************************/
|
||||
|
||||
#include "arf.h"
|
||||
#include "long_extras.h"
|
||||
#include "flint/long_extras.h"
|
||||
|
||||
int
|
||||
arf_mul_si_naive(arf_t z, const arf_t x, slong y, slong prec, arf_rnd_t rnd)
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
******************************************************************************/
|
||||
|
||||
#include "arf.h"
|
||||
#include "ulong_extras.h"
|
||||
#include "flint/ulong_extras.h"
|
||||
|
||||
int
|
||||
arf_mul_ui_naive(arf_t z, const arf_t x, ulong y, slong prec, arf_rnd_t rnd)
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
******************************************************************************/
|
||||
|
||||
#include "arf.h"
|
||||
#include "long_extras.h"
|
||||
#include "flint/long_extras.h"
|
||||
|
||||
int
|
||||
arf_sub_si_naive(arf_t z, const arf_t x, slong y, slong prec, arf_rnd_t rnd)
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
******************************************************************************/
|
||||
|
||||
#include "arf.h"
|
||||
#include "ulong_extras.h"
|
||||
#include "flint/ulong_extras.h"
|
||||
|
||||
int
|
||||
arf_sub_ui_naive(arf_t z, const arf_t x, ulong y, slong prec, arf_rnd_t rnd)
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
******************************************************************************/
|
||||
|
||||
#include "arf.h"
|
||||
#include "long_extras.h"
|
||||
#include "flint/long_extras.h"
|
||||
|
||||
int
|
||||
arf_submul_si_naive(arf_t z, const arf_t x, slong y, slong prec, arf_rnd_t rnd)
|
||||
|
|
10
bernoulli.h
10
bernoulli.h
|
@ -27,11 +27,11 @@
|
|||
#define BERNOULLI_H
|
||||
|
||||
#include <math.h>
|
||||
#include "flint.h"
|
||||
#include "fmpz.h"
|
||||
#include "fmpz_vec.h"
|
||||
#include "fmpq.h"
|
||||
#include "arith.h"
|
||||
#include "flint/flint.h"
|
||||
#include "flint/fmpz.h"
|
||||
#include "flint/fmpz_vec.h"
|
||||
#include "flint/fmpq.h"
|
||||
#include "flint/arith.h"
|
||||
#include "arb.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
|
@ -25,8 +25,8 @@
|
|||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include "fmpz_vec.h"
|
||||
#include "arith.h"
|
||||
#include "flint/fmpz_vec.h"
|
||||
#include "flint/arith.h"
|
||||
#include "bernoulli.h"
|
||||
|
||||
int main()
|
||||
|
|
|
@ -26,9 +26,9 @@
|
|||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include "bernoulli.h"
|
||||
#include "ulong_extras.h"
|
||||
#include "nmod_poly.h"
|
||||
#include "nmod_vec.h"
|
||||
#include "flint/ulong_extras.h"
|
||||
#include "flint/nmod_poly.h"
|
||||
#include "flint/nmod_vec.h"
|
||||
|
||||
int main()
|
||||
{
|
||||
|
|
|
@ -33,8 +33,8 @@
|
|||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include "flint.h"
|
||||
#include "fmpz_mat.h"
|
||||
#include "flint/flint.h"
|
||||
#include "flint/fmpz_mat.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
|
|
@ -23,8 +23,8 @@
|
|||
|
||||
******************************************************************************/
|
||||
|
||||
#include "flint/fmpz_mat.h"
|
||||
#include "bool_mat.h"
|
||||
#include "fmpz_mat.h"
|
||||
|
||||
/*
|
||||
* Postorder traversal of a DAG follows
|
||||
|
|
|
@ -23,8 +23,8 @@
|
|||
|
||||
******************************************************************************/
|
||||
|
||||
#include "flint/perm.h"
|
||||
#include "bool_mat.h"
|
||||
#include "perm.h"
|
||||
|
||||
void
|
||||
bool_mat_randtest(bool_mat_t mat, flint_rand_t state)
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
******************************************************************************/
|
||||
|
||||
#include "bool_mat.h"
|
||||
#include "perm.h"
|
||||
#include "flint/perm.h"
|
||||
|
||||
|
||||
int
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
******************************************************************************/
|
||||
|
||||
#include "bool_mat.h"
|
||||
#include "perm.h"
|
||||
#include "flint/perm.h"
|
||||
|
||||
/* permute rows and columns of a square matrix */
|
||||
void
|
||||
|
|
9
configure
vendored
9
configure
vendored
|
@ -263,9 +263,16 @@ else
|
|||
fi
|
||||
|
||||
if [ -d "${FLINT_INC_DIR}/flint" ]; then
|
||||
FLINT_INC_DIR="${FLINT_INC_DIR}/flint"
|
||||
FLINT_INC_DIR="${FLINT_INC_DIR}"
|
||||
elif [ -f "${FLINT_INC_DIR}/flint.h" ]; then
|
||||
mkdir -p build/include
|
||||
ln -sf ${FLINT_INC_DIR} build/include/flint
|
||||
FLINT_INC_DIR="${PWD}/build/include"
|
||||
fi
|
||||
|
||||
echo "FLINT_LIB_DIR set to ${FLINT_LIB_DIR}"
|
||||
echo "FLINT_INC_DIR set to ${FLINT_INC_DIR}"
|
||||
|
||||
LIB_DIRS="${LIB_DIRS} ${FLINT_LIB_DIR}"
|
||||
INC_DIRS="${INC_DIRS} ${FLINT_INC_DIR}"
|
||||
LIBS="${LIBS} flint"
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
#include "acb.h"
|
||||
#include "acb_hypgeom.h"
|
||||
#include "acb_modular.h"
|
||||
#include "profiler.h"
|
||||
#include "flint/profiler.h"
|
||||
|
||||
/* HLS algorithm from python's colorsys module */
|
||||
static double
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/* This file is public domain. Author: Fredrik Johansson. */
|
||||
|
||||
#include "arb_mat.h"
|
||||
#include "profiler.h"
|
||||
#include "flint/profiler.h"
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/* This file is public domain. Author: Fredrik Johansson. */
|
||||
|
||||
#include "acb_calc.h"
|
||||
#include "profiler.h"
|
||||
#include "flint/profiler.h"
|
||||
|
||||
int
|
||||
sinx(acb_ptr out, const acb_t inp, void * params, slong order, slong prec)
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
#include "arb.h"
|
||||
#include "acb.h"
|
||||
#include "arb_poly.h"
|
||||
#include "profiler.h"
|
||||
#include "flint/profiler.h"
|
||||
|
||||
void
|
||||
keiper_li_series(arb_ptr z, slong len, slong prec)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/* This file is public domain. Author: Fredrik Johansson. */
|
||||
|
||||
#include "arb.h"
|
||||
#include "profiler.h"
|
||||
#include "flint/profiler.h"
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
#include <string.h>
|
||||
#include "acb.h"
|
||||
#include "acb_poly.h"
|
||||
#include "arith.h"
|
||||
#include "profiler.h"
|
||||
#include "flint/arith.h"
|
||||
#include "flint/profiler.h"
|
||||
|
||||
int check_accuracy(acb_ptr vec, slong len, slong prec)
|
||||
{
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#include <string.h>
|
||||
#include "arb_calc.h"
|
||||
#include "acb_hypgeom.h"
|
||||
#include "profiler.h"
|
||||
#include "flint/profiler.h"
|
||||
|
||||
slong eval_count = 0;
|
||||
|
||||
|
|
8
fmpr.h
8
fmpr.h
|
@ -33,12 +33,12 @@
|
|||
#include <limits.h>
|
||||
#include <gmp.h>
|
||||
#include <mpfr.h>
|
||||
#include "flint.h"
|
||||
#include "fmpz.h"
|
||||
#include "fmpq.h"
|
||||
#include "flint/flint.h"
|
||||
#include "flint/fmpz.h"
|
||||
#include "flint/fmpq.h"
|
||||
#include "flint/config.h"
|
||||
#include "fmpz_extras.h"
|
||||
|
||||
#include "config.h"
|
||||
#ifdef HAVE_TLS
|
||||
#if HAVE_TLS
|
||||
#define TLS_PREFIX __thread
|
||||
|
|
|
@ -23,8 +23,8 @@
|
|||
|
||||
******************************************************************************/
|
||||
|
||||
#include "flint/long_extras.h"
|
||||
#include "fmpr.h"
|
||||
#include "long_extras.h"
|
||||
|
||||
static slong
|
||||
fmpr_mul_si_naive(fmpr_t z, const fmpr_t x, slong y, slong prec, fmpr_rnd_t rnd)
|
||||
|
|
|
@ -23,8 +23,8 @@
|
|||
|
||||
******************************************************************************/
|
||||
|
||||
#include "flint/ulong_extras.h"
|
||||
#include "fmpr.h"
|
||||
#include "ulong_extras.h"
|
||||
|
||||
static slong
|
||||
fmpr_mul_ui_naive(fmpr_t z, const fmpr_t x, ulong y, slong prec, fmpr_rnd_t rnd)
|
||||
|
|
|
@ -27,8 +27,8 @@
|
|||
#define FMPZ_EXTRAS_H
|
||||
|
||||
#include <limits.h>
|
||||
#include "flint.h"
|
||||
#include "fmpz.h"
|
||||
#include "flint/flint.h"
|
||||
#include "flint/fmpz.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
|
|
@ -26,8 +26,8 @@
|
|||
#ifndef FMPZ_MAT_EXTRAS_H
|
||||
#define FMPZ_MAT_EXTRAS_H
|
||||
|
||||
#include "flint.h"
|
||||
#include "fmpz_mat.h"
|
||||
#include "flint/flint.h"
|
||||
#include "flint/fmpz_mat.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
******************************************************************************/
|
||||
|
||||
#include "fmpz_mat_extras.h"
|
||||
#include "perm.h"
|
||||
#include "flint/perm.h"
|
||||
|
||||
/* transitive closure can only turn zeros into ones */
|
||||
int
|
||||
|
|
|
@ -26,9 +26,9 @@
|
|||
#ifndef HYPGEOM_H
|
||||
#define HYPGEOM_H
|
||||
|
||||
#include "flint/fmpz_poly.h"
|
||||
#include "arb.h"
|
||||
#include "mag.h"
|
||||
#include "fmpz_poly.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
******************************************************************************/
|
||||
|
||||
#include <math.h>
|
||||
#include "double_extras.h"
|
||||
#include "flint/double_extras.h"
|
||||
#include "hypgeom.h"
|
||||
|
||||
slong
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
******************************************************************************/
|
||||
|
||||
#include <math.h>
|
||||
#include "double_extras.h"
|
||||
#include "flint/double_extras.h"
|
||||
#include "hypgeom.h"
|
||||
|
||||
#define LOG2 0.69314718055994530942
|
||||
|
|
4
mag.h
4
mag.h
|
@ -34,8 +34,8 @@
|
|||
|
||||
#include <stdio.h>
|
||||
#include <math.h>
|
||||
#include "flint.h"
|
||||
#include "fmpz.h"
|
||||
#include "flint/flint.h"
|
||||
#include "flint/fmpz.h"
|
||||
#include "fmpz_extras.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
|
@ -23,8 +23,8 @@
|
|||
|
||||
******************************************************************************/
|
||||
|
||||
#include "flint/double_extras.h"
|
||||
#include "mag.h"
|
||||
#include "double_extras.h"
|
||||
|
||||
/*
|
||||
This is a bad implementation the logarithm function,
|
||||
|
|
|
@ -23,8 +23,8 @@
|
|||
|
||||
******************************************************************************/
|
||||
|
||||
#include "flint/double_extras.h"
|
||||
#include "mag.h"
|
||||
#include "double_extras.h"
|
||||
|
||||
static const double inverse_factorials[] = {
|
||||
1.0,
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
******************************************************************************/
|
||||
|
||||
#include "double_extras.h"
|
||||
#include "flint/double_extras.h"
|
||||
#include "mag.h"
|
||||
|
||||
double
|
||||
|
|
|
@ -23,8 +23,8 @@
|
|||
|
||||
******************************************************************************/
|
||||
|
||||
#include "flint/double_extras.h"
|
||||
#include "mag.h"
|
||||
#include "double_extras.h"
|
||||
|
||||
void
|
||||
mag_log1p(mag_t z, const mag_t x)
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
******************************************************************************/
|
||||
|
||||
#include "mag.h"
|
||||
#include "long_extras.h"
|
||||
#include "flint/long_extras.h"
|
||||
|
||||
int main()
|
||||
{
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
******************************************************************************/
|
||||
|
||||
#include "double_extras.h"
|
||||
#include "flint/double_extras.h"
|
||||
#include "mag.h"
|
||||
|
||||
/* XXX: d_randtest is not good enough */
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
******************************************************************************/
|
||||
|
||||
#include "double_extras.h"
|
||||
#include "flint/double_extras.h"
|
||||
#include "mag.h"
|
||||
|
||||
/* XXX: d_randtest is not good enough */
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
******************************************************************************/
|
||||
|
||||
#include "mag.h"
|
||||
#include "long_extras.h"
|
||||
#include "flint/long_extras.h"
|
||||
|
||||
int main()
|
||||
{
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
******************************************************************************/
|
||||
|
||||
#include "double_extras.h"
|
||||
#include "flint/double_extras.h"
|
||||
#include "mag.h"
|
||||
|
||||
/* XXX: d_randtest is not good enough */
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
******************************************************************************/
|
||||
|
||||
#include "double_extras.h"
|
||||
#include "flint/double_extras.h"
|
||||
#include "mag.h"
|
||||
|
||||
/* XXX: d_randtest is not good enough */
|
||||
|
|
|
@ -27,8 +27,8 @@
|
|||
#define PARTITIONS_H
|
||||
|
||||
#include <math.h>
|
||||
#include "flint.h"
|
||||
#include "arith.h"
|
||||
#include "flint/flint.h"
|
||||
#include "flint/arith.h"
|
||||
#include "arb.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
|
@ -24,8 +24,6 @@
|
|||
******************************************************************************/
|
||||
|
||||
#include "partitions.h"
|
||||
|
||||
#include "arith.h"
|
||||
#include "arb.h"
|
||||
#include "math.h"
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
******************************************************************************/
|
||||
|
||||
#include "arith.h"
|
||||
#include "flint/arith.h"
|
||||
#include "partitions.h"
|
||||
|
||||
/* Values mod 10^9 generated with Sage */
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
******************************************************************************/
|
||||
|
||||
#include "arith.h"
|
||||
#include "flint/arith.h"
|
||||
#include "partitions.h"
|
||||
|
||||
/* Values mod 10^9 */
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
******************************************************************************/
|
||||
|
||||
#include "arith.h"
|
||||
#include "flint/arith.h"
|
||||
#include "partitions.h"
|
||||
|
||||
/* Values mod 10^9 generated with Sage */
|
||||
|
|
Loading…
Add table
Reference in a new issue