| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1422 211d60ee-9f03-0410-a15a-8952a2c7a4e4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1416 211d60ee-9f03-0410-a15a-8952a2c7a4e4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1246 211d60ee-9f03-0410-a15a-8952a2c7a4e4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1222 211d60ee-9f03-0410-a15a-8952a2c7a4e4
|
|
|
|
|
|
|
| |
atan.c, mpc-tests.h; treat warnings
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1204 211d60ee-9f03-0410-a15a-8952a2c7a4e4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1146 211d60ee-9f03-0410-a15a-8952a2c7a4e4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1145 211d60ee-9f03-0410-a15a-8952a2c7a4e4
|
|
|
|
|
|
|
| |
test files: remove inclusion of stdio.h, done via mpc-tests.h
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1116 211d60ee-9f03-0410-a15a-8952a2c7a4e4
|
|
|
|
|
|
| |
lines into the latter
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1114 211d60ee-9f03-0410-a15a-8952a2c7a4e4
|
|
|
|
|
|
|
|
| |
define as __GMP_DECLSPEC_EXPORT if library is compiled and __GMP_LIBGMP_DLL,
as in gmp otherwise
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1109 211d60ee-9f03-0410-a15a-8952a2c7a4e4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1101 211d60ee-9f03-0410-a15a-8952a2c7a4e4
|
|
|
|
|
|
|
|
| |
tpow_{s,u}i.c: use global random state
tsqr.c: cosmetic change
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1042 211d60ee-9f03-0410-a15a-8952a2c7a4e4
|
|
|
|
|
|
|
|
|
|
|
|
| |
LGPLv3+ for code
FDLv1.3+ for mpc.texi
simple disclaimer for supporting files (README, NEWS, INSTALL)
tests/memory.c: replaced by version from mpfr-3.0.1
mpfr.texi: small cleanups; added real authors again, while keeping copyright
notice with INRIA
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1027 211d60ee-9f03-0410-a15a-8952a2c7a4e4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@948 211d60ee-9f03-0410-a15a-8952a2c7a4e4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@912 211d60ee-9f03-0410-a15a-8952a2c7a4e4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@891 211d60ee-9f03-0410-a15a-8952a2c7a4e4
|
|
|
|
|
|
|
|
|
|
|
| |
previously, there was a problem when computing sin and cos (none of
rop_sin and rop_cos being NULL), the arguments were non-finite, purely
real or purely imaginary, and op was equal to one of the output values
tests: added generic and reuse tests for functions with one input and two
outputs, labelled by "cc_c"; in particular, new test file tsin_cos.c
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@882 211d60ee-9f03-0410-a15a-8952a2c7a4e4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@869 211d60ee-9f03-0410-a15a-8952a2c7a4e4
|
|
|
|
|
|
|
| |
added a few key words "static" and "extern" in tests/
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@828 211d60ee-9f03-0410-a15a-8952a2c7a4e4
|
|
|
|
|
|
|
|
|
| |
removed macro MPFR_PREC from mpc-impl.h
replaced MPFR_PREC (MPC_RE (op)) by MPC_PREC_RE (op) and
MPFR_PREC (MPC_IM (op)) by MPC_PREC_IM (op)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@814 211d60ee-9f03-0410-a15a-8952a2c7a4e4
|
|
|
|
|
|
|
| |
with a constant string; problem found by g++
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@787 211d60ee-9f03-0410-a15a-8952a2c7a4e4
|
|
|
|
|
|
| |
symbol got private in MPFR-3.0.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@760 211d60ee-9f03-0410-a15a-8952a2c7a4e4
|
|
|
|
|
|
|
|
|
|
|
| |
cases of over-/underflow delegated to mpc_pow
pow_ui.dat, read_data.c, tpow_ui.c:
added test file
tests/Makefile.am:
temporarily moved test of pow_ui to the front
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@752 211d60ee-9f03-0410-a15a-8952a2c7a4e4
|
|
|
|
|
|
|
|
| |
-> found one bug in atan (one variable was init two times)
and one problem in tio_str.c (some variables were init before test_start)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@724 211d60ee-9f03-0410-a15a-8952a2c7a4e4
|
|
|
|
|
|
|
| |
Studio build)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@703 211d60ee-9f03-0410-a15a-8952a2c7a4e4
|
|
|
|
|
|
| |
against mpfr-3 (The use of GMP_RND_MAX symbol was introduced in tgeneric.c with revision 627).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@630 211d60ee-9f03-0410-a15a-8952a2c7a4e4
|
|
|
|
|
|
|
|
|
| |
[mem.c] new wrapper file for mp_get_memory_functions (not in GMP 4.1.3)
[get_str.c,inp_str.c] moved mp_get_memory_functions to mem.c
[tests/tset.c,tests/random.c] added wrappers for gmp_random functions (not in GMP 4.1.3)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@509 211d60ee-9f03-0410-a15a-8952a2c7a4e4
|
|
|
|
|
|
|
|
| |
environment variable srcdir defined by 'make check'.
tests/tstrtoc.c: Simplify using new functions in read_data.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@491 211d60ee-9f03-0410-a15a-8952a2c7a4e4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@467 211d60ee-9f03-0410-a15a-8952a2c7a4e4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@459 211d60ee-9f03-0410-a15a-8952a2c7a4e4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@457 211d60ee-9f03-0410-a15a-8952a2c7a4e4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
doc/version.texi: Update to february 2009.
NEWS src/mpc.h src/Makefile.am: Add new functions mpc_set_str and mpc_strtoc.
configure.ac: Check if locale.h exists.
src/strtoc.c: new function.
src/set_str.c: new function.
tests/mpc-tests.h: make public some helper functions from read_data.c.
tests/read_data.c: make public some helper functions.
tests/Makefile.am: Add tstrtoc.c and tstrtoc.dat.
tests/tstrtoc.c: test file for mpc_strtoc.
tests/strtoc.dat: data file for mpc_strtoc.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@414 211d60ee-9f03-0410-a15a-8952a2c7a4e4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@391 211d60ee-9f03-0410-a15a-8952a2c7a4e4
|
|
|
|
|
|
| |
defined and set in random.c).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@342 211d60ee-9f03-0410-a15a-8952a2c7a4e4
|
|
|
|
|
|
|
|
|
| |
- debugged some of the corresponding functions
- tests/mpc-tests.h: removal of macros
- tests/read_data.c: reorganisation of reused code in functions
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@299 211d60ee-9f03-0410-a15a-8952a2c7a4e4
|
|
|
|
|
|
|
|
| |
tests/tmul_i.c: test file for mpc_mul_i.
tests/Makefile.am: add tmul_i.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@283 211d60ee-9f03-0410-a15a-8952a2c7a4e4
|
|
|
|
|
|
|
|
|
|
| |
to provide a probability of zero in one number's part independently to number precision. Change also neg_number_p boolean parameter to negative_probability.
mpc-tests.h: Change prototype of test_default_random.
tmul.c, tlog.c, tgeneric.c: Change calls to test_default_random.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@282 211d60ee-9f03-0410-a15a-8952a2c7a4e4
|
|
|
|
|
|
|
|
|
|
| |
add field initialization to macro DECL_XX_FUNC; add a general macro DECL_FUNC replacing DECL_XX_FUNC macros that will be removed; add an identifier FUNC_PROP_SYMETRIC.
read_data.c: Use the symetry for CCC functions (halves data set).
tadd.c: Declare mpc_add as a symetric function.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@275 211d60ee-9f03-0410-a15a-8952a2c7a4e4
|
|
tests/tgeneric_cc.c, tests/tgeneric_cfc.c, tests/tgeneric_cuuc.c, tests/tgeneric_fc.c, tests/tgeneric_ccf.c, tests/tgeneric_cuc.c: code moved into test/tgeneric.c.
tests/read_data_cc.c: code moved into tests/read_data.c.
tests/mpc-tests.h: helper test function are in this new library
tests/tgeneric.c: generic are reuse tests for all function prototypes used in MPC.
tests/read_data.c: read data in a file.
tests/comparisons.c: comparaison function working also with special values
tests/random.c: functions become public
tests/tsub_ui.c: use new libmpc-tests
tests/tconj.c: use new libmpc-tests
tests/tmul_ui.c: use new libmpc-tests
tests/tmul_2exp.c: use new libmpc-tests
tests/texp.c: use new libmpc-tests
tests/tsinh.c: use new libmpc-tests
tests/tneg.c: use new libmpc-tests
tests/tui_div.c: use new libmpc-tests
tests/tsub_fr.c: use new libmpc-tests
tests/tdiv_2exp.c: use new libmpc-tests
tests/tmul_fr.c: use new libmpc-tests
tests/tadd_ui.c: use new libmpc-tests
tests/tsqrt.c: use new libmpc-tests
tests/ttanh.c: use new libmpc-tests
tests/tfr_div.c: use new libmpc-tests
tests/tnorm.c: use new libmpc-tests
tests/tadd_fr.c: use new libmpc-tests
tests/tfr_sub.c: use new libmpc-tests
tests/tui_ui_sub.c: use new libmpc-tests
tests/tmul_si.c: use new libmpc-tests
tests/tdiv_ui.c: use new libmpc-tests
tests/tlog.c: use new libmpc-tests
tests/tdiv.c: use new libmpc-tests
tests/ttan.c: use new libmpc-tests
tests/tcos.c: use new libmpc-tests
tests/tadd.c: use new libmpc-tests
tests/tsin.c: use new libmpc-tests
tests/tsub.c: use new libmpc-tests
tests/tcosh.c: use new libmpc-tests
tests/tmul.c: use new libmpc-tests
tests/tabs.c: use new libmpc-tests
tests/tsqr.c: use new libmpc-tests
tests/tdiv_fr.c: use new libmpc-tests
tests/tui_sub.c: removed because mpc_ui_sub is a macro.
tests/abs.dat: new test file for mpc_abs.
tests/Makefile.am: record previous changes.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@258 211d60ee-9f03-0410-a15a-8952a2c7a4e4
|