Commit Graph

1142 Commits

Author SHA1 Message Date
Sébastien Loriot 0fa2cacb60 remove doc_tex documentation (including developer manual) and old manual tools 2013-12-03 17:27:02 +01:00
Marc Glisse 7f1adbc485 Reformulate one comment about IA_opacify for vectors. 2013-11-27 17:57:43 +01:00
Marc Glisse a1c21ae45f Improve asm for -m32 and with Intel's compiler. 2013-11-19 00:46:00 +01:00
Marc Glisse fffddfb806 Finish the removal of the template :-( 2013-11-17 22:18:39 +01:00
Marc Glisse d128a72551 IA_opacify is not generic, don't make it a template.
The code has become very specific to double, and we weren't using it for
vectors yet.
2013-11-17 12:54:34 +01:00
Marc Glisse 726a7daf63 Work around gcc bug. Improve support for non-x86. 2013-11-17 11:24:15 +01:00
Marc Glisse 325a687888 Fix llvm ICE on inline asm. Also improve asm for gcc.
It is strange, my experiments today don't give at all the same results I
remember from this summer...
2013-11-16 22:46:33 +01:00
Sébastien Loriot da1791759c Merge branch 'Number_types-mpzf-glisse'
Introduces a faster alternative to MP_Float and Gmpzf
    (see the documentation to see on which platforms it is available).
    When activated, it is used as default exact ring number type for exact
    evaluation of predicates (that only require ring operations).
    It is possible to switch back to the previous behavior by defining
    CGAL_DO_NOT_USE_MPZF

    Successfully tested in CGAL-4.4-Ic-29
    Approved by the Release Manager
2013-11-15 16:38:16 +01:00
Sébastien Loriot d99344bf98 add a way to easily switch Mpzf off 2013-11-14 12:55:39 +01:00
Marc Glisse 06e0774812 Cleanup assertions. 2013-11-14 10:38:34 +01:00
Laurent Rineau ae4ff9bc05 Minor rephrasing about the exactness of Mpfz(double) 2013-11-13 11:15:27 +01:00
Sébastien Loriot d466a4ce22 add Mpzf in the user manual 2013-11-12 19:23:16 +01:00
Sébastien Loriot 9168030414 explicit that constructors are exact 2013-11-12 18:03:52 +01:00
Sébastien Loriot e92b19a8e4 explicit when the macro CGAL_HAS+MPZF is defined 2013-11-12 17:48:27 +01:00
Sébastien Loriot 79e4030f09 rename mpzf to Mpzf 2013-11-12 17:40:46 +01:00
Luis Peñaranda ad5144404e typo, is->are 2013-11-06 11:51:13 -02:00
Marc Glisse d940e39efc Hopefully make MSVC quiet. 2013-11-06 14:31:29 +01: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 4e58c5ebd6 Fix bug in comparison with 0. 2013-11-02 11:35:06 +01:00
Marc Glisse b53de35ff6 Work around Boost changing the name of their macros every other release.
Work around Microsoft defining min/max as macros.
2013-11-01 14:46:20 +01:00
Marc Glisse dcaff8048e Merge branch 'Number_types-mpzf-glisse-old' into Number_types-mpzf-glisse
Conflicts:
	Number_types/test/Number_types/ioformat.cpp
2013-10-31 14:05:52 +01:00
Marc Glisse b82554e46f Use CGAL_LITTLE_ENDIAN instead of boost.
Make conversions from mpzf explicit.
2013-10-31 13:40:07 +01: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
Marc Glisse 8aa3714d3f Fix division. 2013-09-05 16:18:29 +02:00
Marc Glisse ad711f31f7 One more test. 2013-09-04 16:11:55 +02:00
Marc Glisse 4f202ac3dd Add coercions. Fix sqrt. 2013-09-04 15:59:02 +02:00
Marc Glisse 7485286daa Fix handling of EOF in operator>> for mpzf and Gmpzf. 2013-09-04 15:05:13 +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