| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1421 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@1223 211d60ee-9f03-0410-a15a-8952a2c7a4e4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1207 211d60ee-9f03-0410-a15a-8952a2c7a4e4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1166 211d60ee-9f03-0410-a15a-8952a2c7a4e4
|
|
|
|
|
|
|
|
|
|
| |
(some flags might be *set* internally however)
[pow.c,exp.c,norm.c,div.c] fix issues with MPFR flags which were cleared
but not reset to their initial value
[div.dat] updated current result of some commented out failing tests
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1131 211d60ee-9f03-0410-a15a-8952a2c7a4e4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1112 211d60ee-9f03-0410-a15a-8952a2c7a4e4
|
|
|
|
|
|
|
|
| |
exposes a sign bug in mpc_div
read_data.c: corrected undocumented assumption on mpfr_signbit
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@1064 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
|
|
|
|
|
|
|
| |
cases are encountered
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@955 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
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@869 211d60ee-9f03-0410-a15a-8952a2c7a4e4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@867 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
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@824 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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
in case of error in data_check
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@730 211d60ee-9f03-0410-a15a-8952a2c7a4e4
|
|
|
|
|
|
|
|
| |
compatibility of given ternary value with rounding mode
(and sign of expected result for rounding to zero)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@729 211d60ee-9f03-0410-a15a-8952a2c7a4e4
|
|
|
|
|
|
|
|
|
|
|
| |
iterate on enumeration, bug reported by Mickael Gastineau).
tests/tgeneric.c: Use prefix iterator ++, iterate between GMP_RNDN and GMP_RND_MAX.
tests/read_data.c: Explicit cast of malloc return.
NEWS: Fix compilation with g++.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@627 211d60ee-9f03-0410-a15a-8952a2c7a4e4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@581 211d60ee-9f03-0410-a15a-8952a2c7a4e4
|
|
|
|
|
|
| |
(char) is always 1).
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@519 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
|
|
|
|
|
|
|
|
| |
tests/read_data.c: Fix wrong format specifier for line_number
tests/tio_str.c: keep local the check_stdout function.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@417 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
|
|
|
|
|
|
|
| |
combinations
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@408 211d60ee-9f03-0410-a15a-8952a2c7a4e4
|
|
|
|
|
|
|
|
|
| |
and purely imaginary arguments
[sqrt.dat] added ternary return value for such arguments
[read_data.c] output '?' instead of 'x' for unchecked return value
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@402 211d60ee-9f03-0410-a15a-8952a2c7a4e4
|
|
|
|
|
|
|
| |
tests/read_data.c: Fix ternary flag comparison in the real case.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@398 211d60ee-9f03-0410-a15a-8952a2c7a4e4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@394 211d60ee-9f03-0410-a15a-8952a2c7a4e4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@391 211d60ee-9f03-0410-a15a-8952a2c7a4e4
|
|
|
|
|
|
|
| |
tests/*.dat: add two columns for ternary value.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@383 211d60ee-9f03-0410-a15a-8952a2c7a4e4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@374 211d60ee-9f03-0410-a15a-8952a2c7a4e4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@352 211d60ee-9f03-0410-a15a-8952a2c7a4e4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@347 211d60ee-9f03-0410-a15a-8952a2c7a4e4
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@346 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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@271 211d60ee-9f03-0410-a15a-8952a2c7a4e4
|
|
|
|
|
|
| |
read_ccf and read_cfc)
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@265 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
|
|
|
|
|
|
|
|
|
|
|
|
| |
prototype, fix a bug (sign must always be checked with real non-zero values), add comment with usage explanations.
Makefile.am: change filenames.
sin sin.dat: add suffix in filename.
tsin.c: change data filename.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@222 211d60ee-9f03-0410-a15a-8952a2c7a4e4
|
|
recorded in a file.
Makefile.am: add read_data.c
sin: example of data file
tsin.c: use data_check with file 'sin'.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpc/trunk@220 211d60ee-9f03-0410-a15a-8952a2c7a4e4
|