Daniel Mendler
0dfa9da5a6
make tommath_class.h and tommath_superclass.h private
...
These headers are used for configuration during build time.
Therefore they shouldn't be exposed as part of the public API.
2019-05-21 18:01:17 +02:00
Daniel Mendler
e379c0f734
COMPILE_DEBUG should not disable optimizations
...
If you additionally want to disable optimizations, define this IGNORE_SPEED macro.
2019-05-21 14:26:14 +02:00
Daniel Mendler
4534056c28
use enums mp_err, mp_ord, mp_bool, mp_sign
...
* MP_USE_ENUMS enables enums
* Wc++-compat catches some implicit conversions if MP_USE_ENUMS is defined
* 100% backwards compatible API/ABI if MP_USE_ENUMS is not defined
2019-05-13 19:15:14 +02:00
Daniel Mendler
8d71a9e33b
travis: add -fsanitize=undefined
2019-05-12 23:45:36 +02:00
Daniel Mendler
f0f75186cd
set std=c89
...
we cannot set it together with -Wsystem-headers since the system headers
are usually not c89 but c99
2019-05-08 11:13:58 +02:00
czurnieden
db76bed220
added autotuning functionality for the Toom-Cook cut-offs
2019-05-06 23:29:08 +02:00
Daniel Mendler
e8f56cc4e0
enable -Wconversion and -Wsign-conversion on travis
...
* no changes to the library code
* conversion issues in the demo testsuite fixed
* add CONV_WARNINGS and enable the warnings only for clang-7 (for now)
* disable Wsystem-headers if Wconversion is enabled, to avoid warnings from the system headers
2019-04-19 22:01:11 +02:00
Daniel Mendler
5da4e0ac01
remove unnecessary size_t casts, fix Wconversion/Wsign-conversion issues
...
Wconversion and Wsign-conversion is still not activated by default,
since there are many issues in demo.c.
2019-04-05 10:52:39 +02:00
Daniel Mendler
cd1570bb88
split test suite
2019-03-04 01:02:22 +01:00
czurnieden
13bc0b55e9
removed 'arch' command completely
2019-02-28 11:28:07 +01:00
czurnieden
ec79562352
offer alternative to arch
2019-02-27 15:47:28 +01:00
Steffen Jaeckel
50abdb8cd0
continue development
2019-01-28 21:21:49 +01:00
Steffen Jaeckel
7b23243b8e
finally last bump
2019-01-23 10:19:58 +01:00
Steffen Jaeckel
5f458dfb95
bump version
2019-01-23 10:11:20 +01:00
Steffen Jaeckel
e543ff319a
also bump SO version
2019-01-22 13:49:36 +01:00
Steffen Jaeckel
538cace5cd
bump version
2019-01-17 11:03:39 +01:00
Steffen Jaeckel
4cc85c14a6
bump version
2019-01-08 12:02:40 +01:00
Steffen Jaeckel
fb07f33dfc
bump version
2018-12-31 11:54:02 +01:00
Karel Miko
4b85095405
fix cygwin build
2018-12-02 17:56:10 +01:00
Alex Arslan
33870d7be2
Make the build logic more robust for BSD systems
...
This properly sets MAKE on BSDs to gmake rather than make, which refers
to the incompatible BSD Make. Further, it betters detection of Clang as
the default compiler, which is the case on FreeBSD 11.0+ and OpenBSD
6.0+, and it fixes the unrecognized call to arch on FreeBSD.
2018-06-10 14:09:37 -07:00
Steffen Jaeckel
c69c3907c3
rename timing demo
2018-02-27 23:30:43 +01:00
Steffen Jaeckel
a40e32b21c
suppress some warnings when compiling with mingw-gcc
...
[skip ci]
2017-10-10 14:30:01 +02:00
Steffen Jaeckel
29007333fd
bump version
2017-08-29 22:27:20 +02:00
Steffen Jaeckel
465933ebf8
disable some compiler warnings
2017-08-29 22:26:54 +02:00
Steffen Jaeckel
e8c27ba7df
bump version
2017-08-29 10:48:46 +02:00
Steffen Jaeckel
ac4f48eeec
fix install make-target
...
This fixes #84
2017-08-29 10:40:05 +02:00
Steffen Jaeckel
36ef587709
bump version
2017-08-28 17:04:18 +02:00
Steffen Jaeckel
237b49ad4a
correct usage of DESTDIR, PREFIX, etc. for the install make-target
...
[skip ci]
2017-08-28 15:56:12 +02:00
Steffen Jaeckel
1a2f3bdb7a
update clean make-target
2017-08-26 11:12:03 +02:00
Steffen Jaeckel
7cc18ffd11
rename/move some files; fix some stuff regarding this
2017-08-26 11:12:03 +02:00