Sylvain Pion
ec06c9f042
Move the not-yet-documented Exact_type_selecter (only used by Filtered_kernel now)
...
from Interval_arithmetic to Number_types.
2006-07-07 11:25:22 +00:00
Sylvain Pion
c4bd0ca9c0
Move Lazy_exact_nt from Interval_arithmetic to Number_types.
2006-07-07 10:08:23 +00:00
Sylvain Pion
617d4f64dc
Move a private file from IA to NT.
2006-07-07 09:43:24 +00:00
Sylvain Pion
0514095f64
Move Interval Arithmetic related files to the Number_types package.
...
Next step is to move Lazy_exact_nt there as well.
Then remove Filtered_exact.
Then rename the Interval_arithmetic package to e.g. High_performance_kernel.
2006-07-07 09:41:00 +00:00
Pedro Machado Manhaes de Castro
87e7bf0dea
Pointless change the old copy constructor
2006-07-07 08:03:24 +00:00
Pedro Machado Manhaes de Castro
6b85869407
Returning the old copy constructor
2006-07-06 16:52:42 +00:00
Pedro Machado Manhaes de Castro
b8339b641a
Removing a tricky bug on the square function in relation to dinz
2006-07-06 16:18:59 +00:00
Laurent Rineau
f492b2f700
fix io_tags of all elementary number types
2006-07-06 11:48:04 +00:00
Andreas Fabri
cf006d34e0
special treatment for VC++
2006-06-27 21:12:06 +00:00
Andreas Fabri
0134eb0995
is_finite(double) workaround for VC7
2006-06-27 13:26:43 +00:00
Sylvain Pion
574ecae6e2
Fix my_nearbyint() (called by constructors from built-in fp types).
2006-06-23 22:23:20 +00:00
Pedro Machado Manhaes de Castro
3578199ed4
Some updates
2006-06-23 11:45:44 +00:00
Pedro Machado Manhaes de Castro
4f5a932363
New tests for Root_of_2
2006-06-23 11:45:21 +00:00
Pedro Machado Manhaes de Castro
35fd74de0b
Forwarding a new way to construct Root_of_2
2006-06-23 11:44:40 +00:00
Pedro Machado Manhaes de Castro
4f5409f92c
Another way to build a Root_of_2 with 3 FTs
2006-06-23 11:44:13 +00:00
Pedro Machado Manhaes de Castro
6d7ac7b5e7
Forwarding the news functions (inverse, make_sqrt) introduced on Root_of_2
2006-06-23 11:43:25 +00:00
Pedro Machado Manhaes de Castro
a4aee311dd
Inverse and make_sqrt functions added.
...
RT / Root_of_2<RT> division added.
Some operations with int.
Comparisons function performance improved.
Added the idea of representing a rational (when we know, by using the Root_of_2(FT) construction) inside the Root_of_2.
The constructor Root_of_2<RT>(const RT&, const RT&, const RT&, bool) has now another boolean parameter at the end, in the case you know delta is not zero.
Some others goodies.
2006-06-23 11:42:48 +00:00
Pedro Machado Manhaes de Castro
02a16a1a8b
Adding another way to make a Root_of_2 in the case you already know that delta is not zero
2006-06-23 11:39:09 +00:00
Pedro Machado Manhaes de Castro
5853c355d3
Better to_double and to_interval functions
2006-06-22 17:30:48 +00:00
Pedro Machado Manhaes de Castro
07f56c182e
fixing bug on to_interval when rc is zero
2006-06-22 14:44:29 +00:00
Pedro Machado Manhaes de Castro
94bb959f7e
Better to_interval function for Root_of_2<MP_Float>
2006-06-17 13:07:00 +00:00
Pedro Machado Manhaes de Castro
9c5c833eb4
Better to_interval function
2006-06-17 13:06:03 +00:00
Pedro Machado Manhaes de Castro
59e963d229
inf/sup version filtering comparisons (is faster).
2006-06-16 13:14:54 +00:00
Pedro Machado Manhaes de Castro
8d9bab7c66
- Filtering comparisons of Root_of_2<RT> and RT, Quotient<RT> and Root_of_2<RT>.
...
- A faster to_interval(Root_of_2<RT>)
2006-06-16 12:28:25 +00:00
Pedro Machado Manhaes de Castro
a192303b7d
to_interval and to_double for Root_of_2<MP_Float>
...
and simplify_root_of_2 (disabled right now, because
it doesn't seem to need it)
2006-06-16 09:02:39 +00:00
Pedro Machado Manhaes de Castro
394c7f68c9
Removing an unecessary include pinpointed by Sylvain Pion
2006-06-16 08:34:37 +00:00
Pedro Machado Manhaes de Castro
a3f85862f3
signature to_interval_exp
...
to_double_exp
2006-06-16 07:42:47 +00:00
Pedro Machado Manhaes de Castro
7adb5fd5b1
Making disponible:
...
to_double_exp
to_interval_exp
2006-06-16 07:42:20 +00:00
Sylvain Pion
38aaea4703
- Add one more assertion for overflow in exponent for to_interval(Quotient<MP_Float>).
2006-06-14 16:25:30 +00:00
Sylvain Pion
da41a98155
Add assertions to check overflow in the exponent when doing
...
to_double and to_interval.
2006-06-14 16:14:47 +00:00
Sylvain Pion
a43ce98997
- Use the new ldexp() function on intervals.
2006-06-14 16:02:17 +00:00
Sylvain Pion
fa4cccbdaa
make_root_of_2 doc : use bool instead of int (correct file this time)
2006-05-20 15:02:33 +00:00
Sylvain Pion
246e1051b4
Revert yesterday's change about simplify_quotient(), as
...
it changes the I/O format of Quotient<MP_Float>, which
causes problems in the T2 test-suite. Too late to
investigate that before 3.2.
2006-05-19 09:28:42 +00:00
Sylvain Pion
96569d4c12
- Improve/fix simplify_quotient(MP_Float)
...
- fix to_interval(Quotient<MP_Float>)
(same as previous fix for to_interval(MP_Float).
2006-05-18 12:33:31 +00:00
Sylvain Pion
6bc76fc499
Fix overflow and underflow cases of to_interval(MP_Float)
...
(spotted by Pedro)
2006-05-18 09:27:34 +00:00
Sylvain Pion
a3dc040c74
Move punctuation out of \ccc commands.
2006-05-16 22:00:24 +00:00
Sylvain Pion
9e85c1e380
Specify that the arguments must be models of RingNumberType.
2006-05-12 19:28:19 +00:00
Andreas Fabri
be147e851e
Removed scope
2006-05-12 13:15:59 +00:00
Sylvain Pion
877c23145c
Mark non-template function inline...
2006-05-05 21:07:49 +00:00
Daniel Russel
c6f5a55ec0
removed -g from makefile
2006-05-05 14:59:01 +00:00
Daniel Russel
b35634a921
patch for Gmpz at end of stream
2006-05-05 14:58:03 +00:00
Sylvain Pion
b498c81307
- Further root_of_2 refinements.
2006-05-05 14:54:49 +00:00
Sylvain Pion
f34251464b
Document make_root_of_2().
2006-05-04 20:02:44 +00:00
Andreas Fabri
1b68f28b51
Added a link pragma for gmp.lib and mpfr.lib
2006-05-01 14:10:44 +00:00
Andreas Fabri
5e7f8adae5
Removed namespace for RootOf_2
2006-04-19 16:03:07 +00:00
Andreas Fabri
b748096009
Moved number type related stuff from kernels to support library
2006-04-19 15:08:58 +00:00
Andreas Fabri
9f2a06be0f
Root_of_2 can only be instantiated with RT for now
2006-04-19 13:51:14 +00:00
Andreas Fabri
08bff4af77
Root_of_2 can only be instantiated with RT for now
2006-04-19 13:48:46 +00:00
Andreas Fabri
224cd23e9f
Root_of_traits is a struct, not a class
2006-04-18 14:10:04 +00:00
Laurent Saboret
87d65f75e3
Fixed svn properties of ASCII files (as defined by Maintenance/svn_client/config)
2006-04-18 12:42:52 +00:00