Commit Graph

1067 Commits

Author SHA1 Message Date
Luis Peñaranda ad5144404e typo, is->are 2013-11-06 11:51:13 -02:00
Luis Peñaranda 78de4bb35c updated Gmpfr and Gmpfi documentation
Gmpfi:
- it was added to the implementation section of the reference manual
  that the precision is decoupled from the mpfr precision.

Gmpfr:
- it said that mpfr handles four rounding modes; this is wrong, since
  mpfr 3 handles five. Now, it reads that Gmpfr supports these four
  rounding modes.
- a spurious star was removed from the reference manual.

NT user manual:
- it said that the precision of Gmpfi was inherited from Gmpfr; this was
  changed in the past and the sentence was corrected.
- a missing comma was added in the last section.
2013-11-06 11:15:32 -02:00
Luis Peñaranda 4d7c940c2f use CGAL/config.h instead to CGAL/basic.h
The only use of this include here is to detect the definition
CGAL_HAS_THREADS.
2013-11-05 20:29:15 -02:00
Luis Peñaranda f19d779046 adjusting to coding conventions in Gmp* tests
All the preprocessor definitions and template parameters starting with _
and a capital letter were removed.
2013-11-05 17:41:43 -02:00
Luis Peñaranda cf0e0a0445 bug in f2f36a1db3
I forgot to copy the pointers back to the Gmpfi.
2013-11-05 17:23:05 -02:00
Luis Peñaranda f2f36a1db3 fix memory leak in some Gmpfi operators
The leak was caused by the fact that some operators created an mpfi_t to
store the result and returned a Gmpfi constructed from that mpfi_t. The
problem was that it was impossible to free the memory used by that
number. The fix consisted in storing the result directly in a Gmpfi,
instead of a mpfi_t (this also results in a cleaner code).
2013-11-04 17:39:12 -02:00
Marc Glisse b0fa7dc30d Merge remote-tracking branch 'origin/Number_types-fpu-glisse'
Approved by the release manager
2013-10-25 16:15:40 +02:00
Sébastien Loriot 700cfba92f doxygen does not like reference ending with - 2013-10-18 15:23:02 -07:00
Laurent Rineau 75067bd072 Fix several I/O issues with Apple-clang-3.2 and its libc++ 2013-10-11 16:12:02 +02:00
Laurent Rineau 532e33137d Renew test/Number_types/ioformat.cpp
That test was using macros, and now it used templates.
Test also the I/O for several values, instead of only "13".
2013-10-10 17:31:06 +02:00
Laurent Rineau a9aef7d36d Fix a bug in the operator>> of Gmpz, when Apple-clang-3.2 libc++ is used 2013-10-10 17:29:59 +02:00
Laurent Rineau 1213dfbc0b Merge remote-tracking branch 'origin/Algebraic_kernel_d-split_tests-GF'
- Split several test files of Polynomial, Algebraic_kernel_d, and
  Number_types into multiple test files, to avoid heap overflows of VC++.

Tested in CGAL-4.3-Ic-194
2013-10-09 14:29:02 +02:00
Laurent Rineau 67a3824cec Change permissions of files created by Andreas 2013-10-04 16:57:11 +02:00
Marc Glisse 88534752b1 Fix Quotient::operator=(double const&).
(we should also pass double by value...)
2013-10-04 14:00:56 +02:00
Andreas Fabri beaf920a6b remove Sqrt_extension.cpp as it got split in two test cases 2013-09-25 18:57:54 +02:00
Andreas Fabri b1a5095f5e split one testcase as VC++ suffers from a combinatorial explosion 2013-09-25 15:30:06 +02:00
Sébastien Loriot 8b8e007387 trivial backward compatibility fix for CGAL 4.3
even if Exact_type_selector was only used internally,
it might break code in our own branches
2013-09-24 17:41:43 +02:00
Andreas Fabri 6c547e5663 Mainly added includes 2013-09-13 22:24:30 +02:00
Sébastien Loriot e8975dbac7 function documentation fixes
remove the repetition of the name of the function in its brief description
 add parenthesis for function matching "function\s+`[a-z0-9_]`"
2013-09-03 14:25:50 +02:00
Marc Glisse c6b40f221f Merge branch 'Number_types-fpu-glisse-old' into Number_types-fpu-glisse 2013-08-28 15:31:00 +02:00
Laurent Rineau bc03aaf30b Put doc/ in the global dont_submit file 2013-08-20 10:57:03 +02:00
Sébastien Loriot 2584766d63 set SHOW_FILE ON for Number_types to get pages for int.h and double.h 2013-08-09 07:59:08 +02:00
Sébastien Loriot d282ade623 use \cgalCite instead of \cite
using perl -i -pe 's/\\cite\s*{?([a-zA-Z0-9:-]+)}?/\\cgalCite{$1}/g'
2013-08-05 18:25:26 +02:00
Marc Glisse e7f01917e5 Also handle -mfpmath=sse,387 on x86_64.
Move the CGAL_IA_NO_X86_OVER_UNDER_FLOW_PROTECT test.
2013-07-28 14:22:26 +02:00
Marc Glisse 934d1ad54c windows on ARM doesn't have excess precision. 2013-07-28 11:29:36 +02:00
Marc Glisse 25096653c9 Remove warning for -mfpmath=387,sse which seems to work fine now. 2013-07-27 21:14:50 +02:00
Marc Glisse 5fd00d660b Rearrange the selection of instructions to change the x86 rounding mode. 2013-07-27 20:07:51 +02:00
Marc Glisse c44bdbcea9 Detect when SSE2 is present, not just when 387 is absent. 2013-07-27 19:58:43 +02:00
Marc Glisse 2b49731f62 Split IA_force_to_double and IA_opacify, the second one can be faster. 2013-07-27 19:43:14 +02:00
Sébastien Loriot 8ce47d7b6a Merge remote-tracking branch 'origin/Number_types-fpu-glisse'
Successfully tested in CGAL-4.3-Ic-101
Approved by the interim release manager
2013-07-25 18:52:42 +02:00
Sébastien Loriot 2dfe8a3d73 workaround for a doxygen bug: remove space after /!* to avoid a verbatim env
this happens if you have an empty line or the text directly after /!*
to find them in the generated documentation, grep for "pre class=\"fragment\""
(a few of them are legitimate however)
2013-07-25 14:58:53 +02:00
Marc Glisse edd2d1735e Interval arithmetics was broken even with gcc... 2013-07-24 13:42:09 +02:00
Marc Glisse 15d03643fc Protect the other side of subtractions for interval arithmetics.
Itanium also has excess precision, apparently.
2013-07-23 14:46:50 +02:00
Sébastien Loriot d4d9bc212b replace in the doc \R by \mathbb{R}
\R is not a valid latex command
I used: sed -i 's/\\f$\s*\\R/\\f$ \\mathbb{R}/g'
2013-07-10 17:07:43 +02:00
Sébastien Loriot a7e7924c51 force the initialization of exp to 0
exp was set to 0 in construct_from_builtin_fp_type
except if constructed the MP_Float was constructed from 0.
This leads on some compiler as having exp being a NAN.

since exp was explicitly set to 0 in the init function
2013-07-08 12:30:58 +02:00
Sébastien Loriot 716f87d2d7 rename Hidden_type to unspecified_type and update its description 2013-06-13 18:48:58 +02:00
Ross Hemsley 4d9caf3763 Added names that were missing into the Doxyfile.in entries.
Also modified Installation/CMakeLists.txt to push the version number variable to the parent level
so that it can be accessed by the documentation
2013-05-30 17:55:43 +02:00
Philipp Möller d4e379ba82 Small fixes in the generated Doxyfile.in 2013-05-30 15:32:33 +02:00
Philipp Möller 4d469821f7 Generated Doxyfile.in and dependencies 2013-05-30 14:13:47 +02:00
Sébastien Loriot 7baa997ce1 Merge branch 'Filtered_kernel-ring-glisse'
This branch adds an additional way to filter predicates that are only doing
operations using a ring number type. In case of failure, a RT is used rather
than an FT which speeds things up.

Successfully tested in CGAL-4.3Ic-37
2013-05-23 11:15:32 +02:00
Laurent Rineau 4d1d8a83ba Fix print_dag for Lazy_exact_nt 2013-05-03 14:17:44 +02:00
Sébastien Loriot a18a34bbbe Merge branch 'Algebraic_foundations-make_rational-glisse' 2013-04-15 16:37:31 +02:00
Marc Glisse d4f8ffb735 Revert previous commit, which was supposed to go to a branch, not master. 2013-04-14 10:43:00 +02:00
Marc Glisse 68cab89cd2 Use __builtin_isfinite in Is_finite. 2013-04-14 10:31:59 +02:00
Laurent Rineau b6ffa7c425 Merge branch 'CGAL-fix_warnings-GF'
That branch was successfully tested in CGAL-4.2-Ic-205.
2013-03-27 12:23:31 +01:00
Andreas Fabri 14294b719d remove unused code and remove a duplicate typedef 2013-03-21 15:55:40 +01:00
Sébastien Loriot 9fcf46e11a replace CGAL_[kernel/qpe/triangulation/]_assertion by assert in tests
this should be the case, following our guidelines.

using:
find */test/* -name '*.[hc]*' | xargs sed -i 's/CGAL_assertion/assert/g'
2013-03-21 10:50:55 +01:00
Alexandros Konstantinakis-Karmis 3b1d281efb Abbreviations trigger end of \brief description
Fixes bug #15482:
https://gforge.inria.fr/tracker/index.php?func=detail&aid=15482&group_id=52&atid=13845
2013-03-13 11:58:56 +01:00
Sébastien Loriot e991fe72ad really add last missing classified reference manual pages 2013-03-13 10:57:01 +01:00
Andreas Fabri 2c8c044db5 use variables to avoid clang warning 2013-03-01 09:01:27 +01:00