include flint/foo.h instead of foo.h

This commit is contained in:
Fredrik Johansson 2016-03-03 15:42:23 +01:00
parent 330d807ede
commit 80640c87e2
94 changed files with 121 additions and 121 deletions

View file

@ -23,7 +23,7 @@
******************************************************************************/ ******************************************************************************/
#include "fmpz_poly.h" #include "flint/fmpz_poly.h"
#include "acb.h" #include "acb.h"
void _gamma_rf_bsplit(fmpz * A, ulong a, ulong b); void _gamma_rf_bsplit(fmpz * A, ulong a, ulong b);

View file

@ -23,7 +23,7 @@
******************************************************************************/ ******************************************************************************/
#include "fmpz_poly.h" #include "flint/fmpz_poly.h"
#include "acb.h" #include "acb.h"
void rising_difference_polynomial(fmpz * s, fmpz * c, ulong m); void rising_difference_polynomial(fmpz * s, fmpz * c, ulong m);

View file

@ -23,7 +23,7 @@
******************************************************************************/ ******************************************************************************/
#include "arith.h" #include "flint/arith.h"
#include "acb_poly.h" #include "acb_poly.h"
int main() int main()

View file

@ -23,7 +23,7 @@
******************************************************************************/ ******************************************************************************/
#include "arith.h" #include "flint/arith.h"
#include "acb_poly.h" #include "acb_poly.h"
int main() int main()

View file

@ -23,7 +23,7 @@
******************************************************************************/ ******************************************************************************/
#include "arith.h" #include "flint/arith.h"
#include "acb_poly.h" #include "acb_poly.h"
int main() int main()

View file

@ -23,8 +23,8 @@
******************************************************************************/ ******************************************************************************/
#include "flint/double_extras.h"
#include "acb_hypgeom.h" #include "acb_hypgeom.h"
#include "double_extras.h"
#define LOG2 0.69314718055994530942 #define LOG2 0.69314718055994530942
#define EXP1 2.7182818284590452354 #define EXP1 2.7182818284590452354

View file

@ -33,10 +33,10 @@
#endif #endif
#include <stdio.h> #include <stdio.h>
#include "flint/fmpz_mat.h"
#include "flint/fmpq_mat.h"
#include "arb.h" #include "arb.h"
#include "acb.h" #include "acb.h"
#include "fmpz_mat.h"
#include "fmpq_mat.h"
#include "arb_mat.h" #include "arb_mat.h"
#include "acb_poly.h" #include "acb_poly.h"

View file

@ -23,7 +23,7 @@
******************************************************************************/ ******************************************************************************/
#include "double_extras.h" #include "flint/double_extras.h"
#include "acb_mat.h" #include "acb_mat.h"
#include "bool_mat.h" #include "bool_mat.h"

View file

@ -27,7 +27,7 @@
#define ACB_MODULAR_H #define ACB_MODULAR_H
#include <stdio.h> #include <stdio.h>
#include "fmpz_poly.h" #include "flint/fmpz_poly.h"
#include "acb.h" #include "acb.h"
#ifdef __cplusplus #ifdef __cplusplus

View file

@ -25,8 +25,6 @@
#include "acb_modular.h" #include "acb_modular.h"
#include "profiler.h"
int main() int main()
{ {
slong iter; slong iter;

View file

@ -24,7 +24,7 @@
******************************************************************************/ ******************************************************************************/
#include "acb_modular.h" #include "acb_modular.h"
#include "arith.h" #include "flint/arith.h"
static void static void
acb_modular_epsilon_arg_naive(fmpq_t arg, const psl2z_t g) acb_modular_epsilon_arg_naive(fmpq_t arg, const psl2z_t g)

View file

@ -23,7 +23,7 @@
******************************************************************************/ ******************************************************************************/
#include "fmpz_poly.h" #include "flint/fmpz_poly.h"
#include "acb_modular.h" #include "acb_modular.h"
/* reference values h_(-d)(2015) mod 31337 computed using sage */ /* reference values h_(-d)(2015) mod 31337 computed using sage */

View file

@ -23,9 +23,9 @@
******************************************************************************/ ******************************************************************************/
#include "flint/arith.h"
#include "flint/double_extras.h"
#include "arb.h" #include "arb.h"
#include "arith.h"
#include "double_extras.h"
/* \sum_{k=0}^{a-1} \frac{k^n}{k!} */ /* \sum_{k=0}^{a-1} \frac{k^n}{k!} */
/* b = a * \frac{(a-1)^n}{(a-1)!} */ /* b = a * \frac{(a-1)^n}{(a-1)!} */

View file

@ -23,8 +23,8 @@
******************************************************************************/ ******************************************************************************/
#include "flint/arith.h"
#include "arb.h" #include "arb.h"
#include "arith.h"
void arb_gamma_stirling_choose_param(int * reflect, slong * r, slong * n, void arb_gamma_stirling_choose_param(int * reflect, slong * r, slong * n,
const arb_t x, int use_reflect, int digamma, slong prec); const arb_t x, int use_reflect, int digamma, slong prec);

View file

@ -23,7 +23,7 @@
******************************************************************************/ ******************************************************************************/
#include "fmpz_poly.h" #include "flint/fmpz_poly.h"
#include "arb.h" #include "arb.h"
void void

View file

@ -23,7 +23,7 @@
******************************************************************************/ ******************************************************************************/
#include "arith.h" #include "flint/arith.h"
#include "arb.h" #include "arb.h"
void void

View file

@ -23,8 +23,8 @@
******************************************************************************/ ******************************************************************************/
#include "flint/mpn_extras.h"
#include "arb.h" #include "arb.h"
#include "mpn_extras.h"
#define TMP_ALLOC_LIMBS(__n) TMP_ALLOC((__n) * sizeof(mp_limb_t)) #define TMP_ALLOC_LIMBS(__n) TMP_ALLOC((__n) * sizeof(mp_limb_t))
#define MAGLIM(prec) FLINT_MAX(65536, (4*prec)) #define MAGLIM(prec) FLINT_MAX(65536, (4*prec))

View file

@ -26,11 +26,9 @@
#include "arb.h" #include "arb.h"
#include "arb_poly.h" #include "arb_poly.h"
/* include minpoly code here until it appears in a flint release */ /* include minpoly code here until it appears in a flint release */
#include "fmpz_poly.h" #include "flint/fmpz_poly.h"
#include "ulong_extras.h" #include "flint/ulong_extras.h"
/* Use a lookup table for small n. We skip 53, 59 and 61, as the /* Use a lookup table for small n. We skip 53, 59 and 61, as the
coefficients do not fit in 16 bits. */ coefficients do not fit in 16 bits. */

View file

@ -24,7 +24,7 @@
******************************************************************************/ ******************************************************************************/
#include "arb.h" #include "arb.h"
#include "long_extras.h" #include "flint/long_extras.h"
int main() int main()
{ {

View file

@ -24,7 +24,7 @@
******************************************************************************/ ******************************************************************************/
#include "arb.h" #include "arb.h"
#include "ulong_extras.h" #include "flint/ulong_extras.h"
int main() int main()
{ {

View file

@ -24,7 +24,7 @@
******************************************************************************/ ******************************************************************************/
#include "arb.h" #include "arb.h"
#include "long_extras.h" #include "flint/long_extras.h"
int main() int main()
{ {

View file

@ -24,7 +24,7 @@
******************************************************************************/ ******************************************************************************/
#include "arb.h" #include "arb.h"
#include "ulong_extras.h" #include "flint/ulong_extras.h"
int main() int main()
{ {

View file

@ -23,8 +23,8 @@
******************************************************************************/ ******************************************************************************/
#include "flint/mpn_extras.h"
#include "arb.h" #include "arb.h"
#include "mpn_extras.h"
int main() int main()
{ {

View file

@ -24,7 +24,7 @@
******************************************************************************/ ******************************************************************************/
#include "arb.h" #include "arb.h"
#include "long_extras.h" #include "flint/long_extras.h"
int main() int main()
{ {

View file

@ -24,7 +24,7 @@
******************************************************************************/ ******************************************************************************/
#include "arb.h" #include "arb.h"
#include "ulong_extras.h" #include "flint/ulong_extras.h"
int main() int main()
{ {

View file

@ -23,7 +23,7 @@
******************************************************************************/ ******************************************************************************/
#include "arith.h" #include "flint/arith.h"
#include "arb.h" #include "arb.h"
int main() int main()

View file

@ -23,8 +23,8 @@
******************************************************************************/ ******************************************************************************/
#include "flint/mpn_extras.h"
#include "arb.h" #include "arb.h"
#include "mpn_extras.h"
int main() int main()
{ {

View file

@ -24,7 +24,7 @@
******************************************************************************/ ******************************************************************************/
#include "arb.h" #include "arb.h"
#include "long_extras.h" #include "flint/long_extras.h"
int main() int main()
{ {

View file

@ -24,7 +24,7 @@
******************************************************************************/ ******************************************************************************/
#include "arb.h" #include "arb.h"
#include "ulong_extras.h" #include "flint/ulong_extras.h"
int main() int main()
{ {

View file

@ -23,7 +23,7 @@
******************************************************************************/ ******************************************************************************/
#include "arith.h" #include "flint/arith.h"
#include "arb_poly.h" #include "arb_poly.h"
int main() int main()

View file

@ -23,7 +23,7 @@
******************************************************************************/ ******************************************************************************/
#include "arith.h" #include "flint/arith.h"
#include "arb_poly.h" #include "arb_poly.h"
int main() int main()

View file

@ -23,7 +23,7 @@
******************************************************************************/ ******************************************************************************/
#include "arith.h" #include "flint/arith.h"
#include "arb_poly.h" #include "arb_poly.h"
int main() int main()

View file

@ -23,8 +23,8 @@
******************************************************************************/ ******************************************************************************/
#include "flint/mpn_extras.h"
#include "arb.h" #include "arb.h"
#include "mpn_extras.h"
int main() int main()
{ {

View file

@ -24,7 +24,7 @@
******************************************************************************/ ******************************************************************************/
#include "arb.h" #include "arb.h"
#include "long_extras.h" #include "flint/long_extras.h"
int main() int main()
{ {

View file

@ -24,7 +24,7 @@
******************************************************************************/ ******************************************************************************/
#include "arb.h" #include "arb.h"
#include "ulong_extras.h" #include "flint/ulong_extras.h"
int main() int main()
{ {

View file

@ -24,7 +24,7 @@
******************************************************************************/ ******************************************************************************/
#include "arb.h" #include "arb.h"
#include "long_extras.h" #include "flint/long_extras.h"
int main() int main()
{ {

View file

@ -24,7 +24,7 @@
******************************************************************************/ ******************************************************************************/
#include "arb.h" #include "arb.h"
#include "ulong_extras.h" #include "flint/ulong_extras.h"
int main() int main()
{ {

View file

@ -24,7 +24,7 @@
******************************************************************************/ ******************************************************************************/
#include <math.h> #include <math.h>
#include "arith.h" #include "flint/arith.h"
#include "arb.h" #include "arb.h"
/* The constant factor is nearly optimal up to at least 300000 bits. */ /* The constant factor is nearly optimal up to at least 300000 bits. */

View file

@ -33,10 +33,10 @@
#endif #endif
#include <stdio.h> #include <stdio.h>
#include "flint/fmpz_mat.h"
#include "flint/fmpq_mat.h"
#include "flint/perm.h"
#include "arb.h" #include "arb.h"
#include "fmpz_mat.h"
#include "fmpq_mat.h"
#include "perm.h"
#include "arb_poly.h" #include "arb_poly.h"
#ifdef __cplusplus #ifdef __cplusplus

View file

@ -23,8 +23,7 @@
******************************************************************************/ ******************************************************************************/
#include "fmpz_mat.h" #include "flint/double_extras.h"
#include "double_extras.h"
#include "arb_mat.h" #include "arb_mat.h"
#include "bool_mat.h" #include "bool_mat.h"

View file

@ -33,10 +33,10 @@
#endif #endif
#include <stdio.h> #include <stdio.h>
#include "flint/fmpz_poly.h"
#include "flint/fmpq_poly.h"
#include "arb.h" #include "arb.h"
#include "acb.h" #include "acb.h"
#include "fmpz_poly.h"
#include "fmpq_poly.h"
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

2
arf.h
View file

@ -37,7 +37,7 @@
#include <stdio.h> #include <stdio.h>
#include <math.h> #include <math.h>
#include "flint.h" #include "flint/flint.h"
#include "fmpr.h" #include "fmpr.h"
#include "mag.h" #include "mag.h"

View file

@ -23,8 +23,8 @@
******************************************************************************/ ******************************************************************************/
#include "flint/mpn_extras.h"
#include "arf.h" #include "arf.h"
#include "mpn_extras.h"
#if !defined(__MPIR_VERSION) #if !defined(__MPIR_VERSION)
#define USE_GMP_DIV_Q 1 #define USE_GMP_DIV_Q 1

View file

@ -23,8 +23,8 @@
******************************************************************************/ ******************************************************************************/
#include "flint/double_extras.h"
#include "arf.h" #include "arf.h"
#include "double_extras.h"
/* most double: (2^53-1) * 2^971 */ /* most double: (2^53-1) * 2^971 */
/* least normal: 2^-1022 */ /* least normal: 2^-1022 */

View file

@ -23,8 +23,8 @@
******************************************************************************/ ******************************************************************************/
#include "flint/double_extras.h"
#include "arf.h" #include "arf.h"
#include "double_extras.h"
void void
arf_set_d(arf_t x, double v) arf_set_d(arf_t x, double v)

View file

@ -24,7 +24,7 @@
******************************************************************************/ ******************************************************************************/
#include "arf.h" #include "arf.h"
#include "long_extras.h" #include "flint/long_extras.h"
int int
arf_add_si_naive(arf_t z, const arf_t x, slong y, slong prec, arf_rnd_t rnd) arf_add_si_naive(arf_t z, const arf_t x, slong y, slong prec, arf_rnd_t rnd)

View file

@ -24,7 +24,7 @@
******************************************************************************/ ******************************************************************************/
#include "arf.h" #include "arf.h"
#include "ulong_extras.h" #include "flint/ulong_extras.h"
int int
arf_add_ui_naive(arf_t z, const arf_t x, ulong y, slong prec, arf_rnd_t rnd) arf_add_ui_naive(arf_t z, const arf_t x, ulong y, slong prec, arf_rnd_t rnd)

View file

@ -24,7 +24,7 @@
******************************************************************************/ ******************************************************************************/
#include "arf.h" #include "arf.h"
#include "long_extras.h" #include "flint/long_extras.h"
int int
arf_addmul_si_naive(arf_t z, const arf_t x, slong y, slong prec, arf_rnd_t rnd) arf_addmul_si_naive(arf_t z, const arf_t x, slong y, slong prec, arf_rnd_t rnd)

View file

@ -24,7 +24,7 @@
******************************************************************************/ ******************************************************************************/
#include "arf.h" #include "arf.h"
#include "long_extras.h" #include "flint/long_extras.h"
int int
arf_mul_si_naive(arf_t z, const arf_t x, slong y, slong prec, arf_rnd_t rnd) arf_mul_si_naive(arf_t z, const arf_t x, slong y, slong prec, arf_rnd_t rnd)

View file

@ -24,7 +24,7 @@
******************************************************************************/ ******************************************************************************/
#include "arf.h" #include "arf.h"
#include "ulong_extras.h" #include "flint/ulong_extras.h"
int int
arf_mul_ui_naive(arf_t z, const arf_t x, ulong y, slong prec, arf_rnd_t rnd) arf_mul_ui_naive(arf_t z, const arf_t x, ulong y, slong prec, arf_rnd_t rnd)

View file

@ -24,7 +24,7 @@
******************************************************************************/ ******************************************************************************/
#include "arf.h" #include "arf.h"
#include "long_extras.h" #include "flint/long_extras.h"
int int
arf_sub_si_naive(arf_t z, const arf_t x, slong y, slong prec, arf_rnd_t rnd) arf_sub_si_naive(arf_t z, const arf_t x, slong y, slong prec, arf_rnd_t rnd)

View file

@ -24,7 +24,7 @@
******************************************************************************/ ******************************************************************************/
#include "arf.h" #include "arf.h"
#include "ulong_extras.h" #include "flint/ulong_extras.h"
int int
arf_sub_ui_naive(arf_t z, const arf_t x, ulong y, slong prec, arf_rnd_t rnd) arf_sub_ui_naive(arf_t z, const arf_t x, ulong y, slong prec, arf_rnd_t rnd)

View file

@ -24,7 +24,7 @@
******************************************************************************/ ******************************************************************************/
#include "arf.h" #include "arf.h"
#include "long_extras.h" #include "flint/long_extras.h"
int int
arf_submul_si_naive(arf_t z, const arf_t x, slong y, slong prec, arf_rnd_t rnd) arf_submul_si_naive(arf_t z, const arf_t x, slong y, slong prec, arf_rnd_t rnd)

View file

@ -27,11 +27,11 @@
#define BERNOULLI_H #define BERNOULLI_H
#include <math.h> #include <math.h>
#include "flint.h" #include "flint/flint.h"
#include "fmpz.h" #include "flint/fmpz.h"
#include "fmpz_vec.h" #include "flint/fmpz_vec.h"
#include "fmpq.h" #include "flint/fmpq.h"
#include "arith.h" #include "flint/arith.h"
#include "arb.h" #include "arb.h"
#ifdef __cplusplus #ifdef __cplusplus

View file

@ -25,8 +25,8 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include "fmpz_vec.h" #include "flint/fmpz_vec.h"
#include "arith.h" #include "flint/arith.h"
#include "bernoulli.h" #include "bernoulli.h"
int main() int main()

View file

@ -26,9 +26,9 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include "bernoulli.h" #include "bernoulli.h"
#include "ulong_extras.h" #include "flint/ulong_extras.h"
#include "nmod_poly.h" #include "flint/nmod_poly.h"
#include "nmod_vec.h" #include "flint/nmod_vec.h"
int main() int main()
{ {

View file

@ -33,8 +33,8 @@
#endif #endif
#include <stdio.h> #include <stdio.h>
#include "flint.h" #include "flint/flint.h"
#include "fmpz_mat.h" #include "flint/fmpz_mat.h"
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

View file

@ -23,8 +23,8 @@
******************************************************************************/ ******************************************************************************/
#include "flint/fmpz_mat.h"
#include "bool_mat.h" #include "bool_mat.h"
#include "fmpz_mat.h"
/* /*
* Postorder traversal of a DAG follows * Postorder traversal of a DAG follows

View file

@ -23,8 +23,8 @@
******************************************************************************/ ******************************************************************************/
#include "flint/perm.h"
#include "bool_mat.h" #include "bool_mat.h"
#include "perm.h"
void void
bool_mat_randtest(bool_mat_t mat, flint_rand_t state) bool_mat_randtest(bool_mat_t mat, flint_rand_t state)

View file

@ -24,7 +24,7 @@
******************************************************************************/ ******************************************************************************/
#include "bool_mat.h" #include "bool_mat.h"
#include "perm.h" #include "flint/perm.h"
int int

View file

@ -24,7 +24,7 @@
******************************************************************************/ ******************************************************************************/
#include "bool_mat.h" #include "bool_mat.h"
#include "perm.h" #include "flint/perm.h"
/* permute rows and columns of a square matrix */ /* permute rows and columns of a square matrix */
void void

9
configure vendored
View file

@ -263,9 +263,16 @@ else
fi fi
if [ -d "${FLINT_INC_DIR}/flint" ]; then 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 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}" LIB_DIRS="${LIB_DIRS} ${FLINT_LIB_DIR}"
INC_DIRS="${INC_DIRS} ${FLINT_INC_DIR}" INC_DIRS="${INC_DIRS} ${FLINT_INC_DIR}"
LIBS="${LIBS} flint" LIBS="${LIBS} flint"

View file

@ -4,7 +4,7 @@
#include "acb.h" #include "acb.h"
#include "acb_hypgeom.h" #include "acb_hypgeom.h"
#include "acb_modular.h" #include "acb_modular.h"
#include "profiler.h" #include "flint/profiler.h"
/* HLS algorithm from python's colorsys module */ /* HLS algorithm from python's colorsys module */
static double static double

View file

@ -1,7 +1,7 @@
/* This file is public domain. Author: Fredrik Johansson. */ /* This file is public domain. Author: Fredrik Johansson. */
#include "arb_mat.h" #include "arb_mat.h"
#include "profiler.h" #include "flint/profiler.h"
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {

View file

@ -1,7 +1,7 @@
/* This file is public domain. Author: Fredrik Johansson. */ /* This file is public domain. Author: Fredrik Johansson. */
#include "acb_calc.h" #include "acb_calc.h"
#include "profiler.h" #include "flint/profiler.h"
int int
sinx(acb_ptr out, const acb_t inp, void * params, slong order, slong prec) sinx(acb_ptr out, const acb_t inp, void * params, slong order, slong prec)

View file

@ -4,7 +4,7 @@
#include "arb.h" #include "arb.h"
#include "acb.h" #include "acb.h"
#include "arb_poly.h" #include "arb_poly.h"
#include "profiler.h" #include "flint/profiler.h"
void void
keiper_li_series(arb_ptr z, slong len, slong prec) keiper_li_series(arb_ptr z, slong len, slong prec)

View file

@ -1,7 +1,7 @@
/* This file is public domain. Author: Fredrik Johansson. */ /* This file is public domain. Author: Fredrik Johansson. */
#include "arb.h" #include "arb.h"
#include "profiler.h" #include "flint/profiler.h"
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {

View file

@ -3,8 +3,8 @@
#include <string.h> #include <string.h>
#include "acb.h" #include "acb.h"
#include "acb_poly.h" #include "acb_poly.h"
#include "arith.h" #include "flint/arith.h"
#include "profiler.h" #include "flint/profiler.h"
int check_accuracy(acb_ptr vec, slong len, slong prec) int check_accuracy(acb_ptr vec, slong len, slong prec)
{ {

View file

@ -3,7 +3,7 @@
#include <string.h> #include <string.h>
#include "arb_calc.h" #include "arb_calc.h"
#include "acb_hypgeom.h" #include "acb_hypgeom.h"
#include "profiler.h" #include "flint/profiler.h"
slong eval_count = 0; slong eval_count = 0;

8
fmpr.h
View file

@ -33,12 +33,12 @@
#include <limits.h> #include <limits.h>
#include <gmp.h> #include <gmp.h>
#include <mpfr.h> #include <mpfr.h>
#include "flint.h" #include "flint/flint.h"
#include "fmpz.h" #include "flint/fmpz.h"
#include "fmpq.h" #include "flint/fmpq.h"
#include "flint/config.h"
#include "fmpz_extras.h" #include "fmpz_extras.h"
#include "config.h"
#ifdef HAVE_TLS #ifdef HAVE_TLS
#if HAVE_TLS #if HAVE_TLS
#define TLS_PREFIX __thread #define TLS_PREFIX __thread

View file

@ -23,8 +23,8 @@
******************************************************************************/ ******************************************************************************/
#include "flint/long_extras.h"
#include "fmpr.h" #include "fmpr.h"
#include "long_extras.h"
static slong static slong
fmpr_mul_si_naive(fmpr_t z, const fmpr_t x, slong y, slong prec, fmpr_rnd_t rnd) fmpr_mul_si_naive(fmpr_t z, const fmpr_t x, slong y, slong prec, fmpr_rnd_t rnd)

View file

@ -23,8 +23,8 @@
******************************************************************************/ ******************************************************************************/
#include "flint/ulong_extras.h"
#include "fmpr.h" #include "fmpr.h"
#include "ulong_extras.h"
static slong static slong
fmpr_mul_ui_naive(fmpr_t z, const fmpr_t x, ulong y, slong prec, fmpr_rnd_t rnd) fmpr_mul_ui_naive(fmpr_t z, const fmpr_t x, ulong y, slong prec, fmpr_rnd_t rnd)

View file

@ -27,8 +27,8 @@
#define FMPZ_EXTRAS_H #define FMPZ_EXTRAS_H
#include <limits.h> #include <limits.h>
#include "flint.h" #include "flint/flint.h"
#include "fmpz.h" #include "flint/fmpz.h"
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

View file

@ -26,8 +26,8 @@
#ifndef FMPZ_MAT_EXTRAS_H #ifndef FMPZ_MAT_EXTRAS_H
#define FMPZ_MAT_EXTRAS_H #define FMPZ_MAT_EXTRAS_H
#include "flint.h" #include "flint/flint.h"
#include "fmpz_mat.h" #include "flint/fmpz_mat.h"
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

View file

@ -24,7 +24,7 @@
******************************************************************************/ ******************************************************************************/
#include "fmpz_mat_extras.h" #include "fmpz_mat_extras.h"
#include "perm.h" #include "flint/perm.h"
/* transitive closure can only turn zeros into ones */ /* transitive closure can only turn zeros into ones */
int int

View file

@ -26,9 +26,9 @@
#ifndef HYPGEOM_H #ifndef HYPGEOM_H
#define HYPGEOM_H #define HYPGEOM_H
#include "flint/fmpz_poly.h"
#include "arb.h" #include "arb.h"
#include "mag.h" #include "mag.h"
#include "fmpz_poly.h"
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

View file

@ -24,7 +24,7 @@
******************************************************************************/ ******************************************************************************/
#include <math.h> #include <math.h>
#include "double_extras.h" #include "flint/double_extras.h"
#include "hypgeom.h" #include "hypgeom.h"
slong slong

View file

@ -24,7 +24,7 @@
******************************************************************************/ ******************************************************************************/
#include <math.h> #include <math.h>
#include "double_extras.h" #include "flint/double_extras.h"
#include "hypgeom.h" #include "hypgeom.h"
#define LOG2 0.69314718055994530942 #define LOG2 0.69314718055994530942

4
mag.h
View file

@ -34,8 +34,8 @@
#include <stdio.h> #include <stdio.h>
#include <math.h> #include <math.h>
#include "flint.h" #include "flint/flint.h"
#include "fmpz.h" #include "flint/fmpz.h"
#include "fmpz_extras.h" #include "fmpz_extras.h"
#ifdef __cplusplus #ifdef __cplusplus

View file

@ -23,8 +23,8 @@
******************************************************************************/ ******************************************************************************/
#include "flint/double_extras.h"
#include "mag.h" #include "mag.h"
#include "double_extras.h"
/* /*
This is a bad implementation the logarithm function, This is a bad implementation the logarithm function,

View file

@ -23,8 +23,8 @@
******************************************************************************/ ******************************************************************************/
#include "flint/double_extras.h"
#include "mag.h" #include "mag.h"
#include "double_extras.h"
static const double inverse_factorials[] = { static const double inverse_factorials[] = {
1.0, 1.0,

View file

@ -23,7 +23,7 @@
******************************************************************************/ ******************************************************************************/
#include "double_extras.h" #include "flint/double_extras.h"
#include "mag.h" #include "mag.h"
double double

View file

@ -23,8 +23,8 @@
******************************************************************************/ ******************************************************************************/
#include "flint/double_extras.h"
#include "mag.h" #include "mag.h"
#include "double_extras.h"
void void
mag_log1p(mag_t z, const mag_t x) mag_log1p(mag_t z, const mag_t x)

View file

@ -24,7 +24,7 @@
******************************************************************************/ ******************************************************************************/
#include "mag.h" #include "mag.h"
#include "long_extras.h" #include "flint/long_extras.h"
int main() int main()
{ {

View file

@ -23,7 +23,7 @@
******************************************************************************/ ******************************************************************************/
#include "double_extras.h" #include "flint/double_extras.h"
#include "mag.h" #include "mag.h"
/* XXX: d_randtest is not good enough */ /* XXX: d_randtest is not good enough */

View file

@ -23,7 +23,7 @@
******************************************************************************/ ******************************************************************************/
#include "double_extras.h" #include "flint/double_extras.h"
#include "mag.h" #include "mag.h"
/* XXX: d_randtest is not good enough */ /* XXX: d_randtest is not good enough */

View file

@ -24,7 +24,7 @@
******************************************************************************/ ******************************************************************************/
#include "mag.h" #include "mag.h"
#include "long_extras.h" #include "flint/long_extras.h"
int main() int main()
{ {

View file

@ -23,7 +23,7 @@
******************************************************************************/ ******************************************************************************/
#include "double_extras.h" #include "flint/double_extras.h"
#include "mag.h" #include "mag.h"
/* XXX: d_randtest is not good enough */ /* XXX: d_randtest is not good enough */

View file

@ -23,7 +23,7 @@
******************************************************************************/ ******************************************************************************/
#include "double_extras.h" #include "flint/double_extras.h"
#include "mag.h" #include "mag.h"
/* XXX: d_randtest is not good enough */ /* XXX: d_randtest is not good enough */

View file

@ -27,8 +27,8 @@
#define PARTITIONS_H #define PARTITIONS_H
#include <math.h> #include <math.h>
#include "flint.h" #include "flint/flint.h"
#include "arith.h" #include "flint/arith.h"
#include "arb.h" #include "arb.h"
#ifdef __cplusplus #ifdef __cplusplus

View file

@ -24,8 +24,6 @@
******************************************************************************/ ******************************************************************************/
#include "partitions.h" #include "partitions.h"
#include "arith.h"
#include "arb.h" #include "arb.h"
#include "math.h" #include "math.h"

View file

@ -23,7 +23,7 @@
******************************************************************************/ ******************************************************************************/
#include "arith.h" #include "flint/arith.h"
#include "partitions.h" #include "partitions.h"
/* Values mod 10^9 generated with Sage */ /* Values mod 10^9 generated with Sage */

View file

@ -23,7 +23,7 @@
******************************************************************************/ ******************************************************************************/
#include "arith.h" #include "flint/arith.h"
#include "partitions.h" #include "partitions.h"
/* Values mod 10^9 */ /* Values mod 10^9 */

View file

@ -23,7 +23,7 @@
******************************************************************************/ ******************************************************************************/
#include "arith.h" #include "flint/arith.h"
#include "partitions.h" #include "partitions.h"
/* Values mod 10^9 generated with Sage */ /* Values mod 10^9 generated with Sage */