tommath_private.h


Log

Author Commit Date CI Message
Daniel Mendler 818d8fb7 2019-05-03T17:39:10 Rework handling of tunable cutoffs * In the default settings, a cutoff X can be modified at runtime by adjusting the corresponding X_CUTOFF variable. * Tunability of the library can be disabled at compile time by defining the MP_FIXED_CUTOFFS macro. * There is an additional file tommath_cutoffs.h, which defines the default cutoffs. These can be adjusted manually or by the autotuner.
Daniel Mendler 90eccd57 2019-04-25T15:36:35 prefix private macros by PRIVATE_
Daniel Mendler a8c76138 2019-04-12T21:15:56 deprecate macros in tommath.h * move MP_DEPRECATED to tommath.h since we need it later * add MP_DEPRECATED_PRAGMA
Daniel Mendler 632601f4 2019-04-13T17:34:11 MP_WARRAY is an internal macro
Daniel Mendler e45f75fd 2019-04-13T08:46:57 deprecate DIGIT_BIT, use MP_DIGIT_BIT
Daniel Mendler fbfcb661 2019-04-12T14:56:29 apply rename
Daniel Mendler 7469e852 2019-03-07T04:02:32 add rename script
Daniel Mendler 87292ed1 2019-04-09T12:19:40 move mp_balance_mul to tommath_private.h
Daniel Mendler df8fcb0e 2019-04-09T11:18:23 add MP_DEPRECATED macro
Daniel Mendler e09a5c99 2019-04-09T11:10:57 remove s_mp_mul which is only used once
Daniel Mendler c4fb2241 2019-04-09T11:08:26 rename macros in tommath_private to use MP_* prefix
Francois Perrad 42193f89 2019-04-09T20:26:08 explicit operator precedence
Daniel Mendler ff561404 2019-04-07T15:29:11 shorter headers
Daniel Mendler 70a30ae7 2019-04-07T02:29:28 remove footers
Steffen Jaeckel a3651cbd 2019-04-04T12:43:08 apply modifications to XCALLOC according to #192
Steffen Jaeckel d01b5318 2019-04-04T12:25:34 Revert "Merge pull request #188 from libtom/unused_xcalloc" This reverts commit 27417b85c72ee1417050e65507aab11ccf42e03a, reversing changes made to d449bd44c02e1308af7b4ae30310799d26d38496.
Daniel Mendler db9a47d5 2019-04-04T11:01:08 allocation functions: pass size to XREALLOC and XFREE This is similar to the signatures of the custom allocation functions provided by GMP. The allocation sizes are useful if the allocator has no easy way to access the allocation size.
Daniel Mendler 77143c33 2019-04-04T12:57:22 remove mp_set_long specialization
Daniel Mendler 28e61778 2019-03-22T15:26:59 remove OPT_CAST The explicit cast does not hurt in C. Furthermore the explicit cast is needed if tommath is compiled as C with strict warning settings.
nijtmans 54d673f1 2019-03-28T17:00:50 XCALLOC is not used anywhere anymore, so it can be removed
Francois Perrad 9d63882d 2019-03-26T18:42:18 explicit condition
Francois Perrad 6d633703 2019-03-26T18:51:35 explicit operator precedence
Daniel Mendler 32099fde 2019-03-23T02:38:01 avoid ctype toupper - libc toupper is locale dependent - removes the dependency on ctype.h
nijtmans 6dc8ae5b 2019-03-26T11:30:21 efficiency improvement in get/set routines
Francois Perrad de19b264 2018-12-28T09:01:01 introduce new private macros
Steffen Jaeckel 18355de6 2018-12-29T17:56:20 Update file headers [skip ci]
Francois Perrad bd4167e8 2018-05-03T03:44:47 const mp_s_rmap
czurnieden 9034e712 2018-05-02T21:43:17 Do not use installed headers for building
Steffen Jaeckel f51249b6 2018-02-02T12:07:21 clean-up file headers
Francois Perrad f1d6c887 2017-10-15T19:58:35 refactor cast
Francois Perrad bdbed000 2017-10-15T19:57:12 literal suffix
Steffen Jaeckel 0a7ecc3b 2017-10-09T14:34:20 add the inverse of mp_s_rmap
nijtmans f674018a 2017-09-20T16:59:43 constify remaining functions
Francois Perrad f89cda03 2017-08-30T19:15:27 format with astyle (step 5)
Francois Perrad 82a2d385 2017-08-30T05:56:38 refactor indentation of preprocessor directives
Francois Perrad 378be117 2017-08-28T21:40:10 add missing space after comma
Steffen Jaeckel 6f212942 2017-08-28T16:27:26 replace SVN tags
Steffen Jaeckel 2dad1298 2017-04-01T00:35:03 only define MIN/MAX if they are not defined yet This closes #72
Francois Perrad a0b8ce68 2015-11-13T17:47:30 use unsigned literal
Francois Perrad 10cfb955 2015-11-12T22:43:38 use same parameter name between prototype declaration and function definition
Francois Perrad e6cfefc1 2015-11-19T21:53:32 more private stuff
Francois Perrad f771e317 2015-11-19T21:34:58 move standard includes
Steffen Jaeckel 4e3f1344 2015-11-12T01:49:07 provide tommath_private.h tommath.h contains declarations for the public part of the library. tommath_private.h contains the functions which are private to ltm and should not be exposed to the public.