Commit graph

14 commits

Author SHA1 Message Date
Leonardo de Moura
b8315e5593 Fix ambiguous overloads. Improve == test for sexprs. Remove redundant code
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-07-21 14:25:56 -07:00
Leonardo de Moura
272089044e Add power operator to numeric_traits
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-07-19 16:58:56 -07:00
Leonardo de Moura
d75d6d4684 Add power operator to mpq
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-07-19 16:50:58 -07:00
Leonardo de Moura
6e6d83d46c Add precise() to numeric_traits
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-07-19 10:42:19 -07:00
Leonardo de Moura
c581990f67 Clean white-spaces
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-07-19 10:29:33 -07:00
Soonho Kong
a376e478f8 Fix friend issues in mpq/mpz 2013-07-19 10:04:20 -07:00
Leonardo de Moura
5063c8cfa1 Add interval template
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-07-19 10:01:53 -07:00
Leonardo de Moura
d3f5e34d08 Add numerics/numeric_traits.cpp
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-07-19 10:01:51 -07:00
Leonardo de Moura
2db2383b09 Add goodies for extended numerals
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-07-19 10:01:44 -07:00
Leonardo de Moura
7dbd87e382 Add numeric_traits
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-07-19 10:01:42 -07:00
Leonardo de Moura
0198d73428 Fix compilation bug
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-07-18 09:12:21 -07:00
Leonardo de Moura
e559bf73a9 Add basic testing infrastructure using CTest
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-07-18 09:12:07 -07:00
Leonardo de Moura
8cce4b10c5 Add CMakeLists.txt to numerics module
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-07-17 14:34:42 -07:00
Leonardo de Moura
4ccf770b64 Move mpz, mpq and mpbq to numerics directory
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-07-17 14:33:00 -07:00