summaryrefslogtreecommitdiffstats
path: root/generic/tclTomMath.decls
Commit message (Collapse)AuthorAgeFilesLines
* Merge 8.6jan.nijtmans2021-03-041-1/+0
|\
| * Merge 8.5. Add unused stub table entriesjan.nijtmans2021-03-041-1/+0
| |\
| | * Add some more unused entries to the stub table, keeping up with the table ↵jan.nijtmans2021-03-041-1/+0
| | | | | | | | | | | | size increase of higher Tcl versions
| | * Add additional (dummy) stub entries in the libtommath stubtablejan.nijtmans2019-10-241-0/+8
| | |
| | * Update some libtommath functions to the latest trunk versions. Small step ↵jan.nijtmans2019-05-291-71/+71
| | | | | | | | | | | | | | | forward in the upgrade to (upcoming) libtommath 1.2. Advantage: simplify Tcl code accessing those functions.
* | | Merge 8.6jan.nijtmans2021-01-271-1/+1
|\ \ \ | |/ /
| * | *.decls files are now in UTF-8. Use "in" operator in stead of "lsearch -exact".jan.nijtmans2021-01-271-1/+1
| | |
| * | Add 3 (libtommath) functions to the stub table. Will be added to 8.7 too, ↵jan.nijtmans2019-12-121-3/+10
| | | | | | | | | | | | through TIP #538
* | | Add mp_unpack() to the libtommath stub table, so this function is available ↵jan.nijtmans2021-01-131-0/+4
| | | | | | | | | | | | to extensions (and to Tcl itself, but not used yet)
* | | Merge 8.7jan.nijtmans2019-11-151-4/+1
|\ \ \
| * \ \ Merge 8.6jan.nijtmans2019-11-151-3/+0
| |\ \ \ | | |/ /
| | * | Remove mp_get_bit() from the libtommath stub table: It wasn't present in Tcl ↵jan.nijtmans2019-11-151-3/+0
| | | | | | | | | | | | | | | | 8.6.9, isn't used anywhere in Tcl, and is going to be deprecated in libtommath.
| * | | Merge 8.6. jan.nijtmans2019-11-151-2/+2
| |\ \ \ | | |/ / | | | | Also fix the use of WUR (warn unused result) in libtommath function signatures: this cannot be used in combination with "deprecated" or "nostub"
| | * | Add support for ↵jan.nijtmans2019-11-081-4/+7
| | | | | | | | | | | | | | | | | | | | mp_init_i32/mp_init_i64/mp_init_l/mp_init_ll/mp_init_u32/mp_init_u64/mp_init_ul/mp_init_ull/mp_set_ull, the main functions in libtommath 1.2.0 for setting values directly in mp_int's. One new stub entry (mp_set_ull), the others make use of already existing stub entries. This is 100% fully upwards compatible.
* | | | Merge 8.7. Finish implementation.jan.nijtmans2019-11-121-21/+15
|\ \ \ \ | |/ / /
* | | | Merge 8.7jan.nijtmans2019-11-111-13/+13
|\ \ \ \ | |/ / /
| * | | Now that libtommath has mp_init_l/mp_init_ll/mp_init_ull, use those instead ↵jan.nijtmans2019-11-081-6/+9
| | | | | | | | | | | | | | | | of the legacy TclBNInitBignumFromLong/TclBNInitBignumFromWideInt/TclBNInitBignumFromWideUInt
| * | | Merge 8.6. jan.nijtmans2019-11-081-0/+3
| |\ \ \ | | |/ / | | | | Add support for libtommath's mp_set_ll() function, since that's the replacement for the deprecated TclBNInitBignumFromWideInt() function.
| * | | Deprecate mp_div_3(): Will be private function in future libtommath, not ↵jan.nijtmans2019-11-071-2/+2
| | | | | | | | | | | | | | | | | | | | used in Tcl. Deprecate mp_sqr() stub entry: Will be converted to macro calling mp_mul().
* | | | More WIP: All makefile builds appear to work fine, makefile.vc build still ↵jan.nijtmans2019-11-051-10/+16
| | | | | | | | | | | | | | | | to be done.
* | | | Add compat/stdint.h, upgrade to libtommath 1.2.0, adapt as much as possible ↵jan.nijtmans2019-11-011-14/+14
|/ / / | | | | | | | | | accordingly (still WIP)
* | | Merge 8.7jan.nijtmans2019-10-311-4/+1
|\ \ \
| * \ \ Merge 8.6jan.nijtmans2019-10-301-4/+1
| |\ \ \ | | |/ /
| | * | Change mp_isodd() (back) from libtommath stub entry to macro. libtommath ↵jan.nijtmans2019-10-301-3/+0
| | | | | | | | | | | | | | | | | | | | changed it back to macro too in its master branch, we better do the same. Better usage of mp_isneg() macro, in stead of directly comparing sign with MP_NEG/MP_ZPOS.
* | | | WIP: Use unsigned int in stead of mp_digit in libtommath stub entries. jan.nijtmans2019-10-291-9/+9
|/ / / | | | | | | This make libtommath's API independant whether compiled with MP_64BIT or not
* | | More code cleanup related to libtommath 1.2.0: Adapt naming of (internal) ↵jan.nijtmans2019-10-251-2/+2
| | | | | | | | | | | | symbols to new conventions. Remove deprecated declarations which were never implemented/included by Tcl.
* | | Merge 8.6jan.nijtmans2019-10-241-5/+2
|\ \ \ | |/ /
| * | Combine two libtommath stub entries, which (almost) do the samejan.nijtmans2019-10-241-4/+1
| | |
| * | Combine two libtommath stub entries, which do exactly the same. jan.nijtmans2019-10-231-3/+0
| | | | | | | | | Fix mp_init_set_int stub, handling the situation that mp_init() fails (however unlikely)
* | | Add support for libtommath's MP_WUR annotation to genStubs.tcl. Not enforced ↵jan.nijtmans2019-10-241-50/+50
| | | | | | | | | | | | yet by the Tcl core, but extensions will encounter the libtommath warnings. Can be switched off.
* | | Deprecate mp_unsigned_bin_size, mp_init_set_int, mp_set_int, which are ↵jan.nijtmans2019-10-231-6/+3
| | | | | | | | | | | | | | | deprecated in libtommath 1.2.0. In stead, add new function mp_set_ul to the build (mp_ubin_size was already included in the build earlier)
* | | Merge 8.6.jan.nijtmans2019-10-231-0/+3
|\ \ \ | |/ / | | | Also unbreak windows build, broken since [0f2870649c804dd8].
| * | Extend libtommath stub table, so extension writers can move away from ↵jan.nijtmans2019-10-231-1/+14
| | | | | | | | | | | | deprecated libtommath functions.
* | | Deprecate mp_get_bit, mp_expt_d_ex, mp_toradix_n, mp_to_unsigned_bin, ↵jan.nijtmans2019-10-221-7/+17
| | | | | | | | | | | | | | | mp_to_unsigned_bin_n, because they are deprecated in libtommath 1.2.0 too. Add replacement functions mp_to_ubin, mp_ubin_size and mp_to_radix to libtommath stub table.
* | | Merge 8.6jan.nijtmans2019-10-221-67/+65
|\ \ \ | |/ /
| * | Merge libtommath 1.2.0-rc3jan.nijtmans2019-10-211-58/+58
| | |
| * | Merge core-8-6-branch, and merge latest libtommathjan.nijtmans2019-07-281-1/+1
| |\ \
| * | | Latest libtommath's "develop" branch adapted for Tcl 8.6. And Tcl 8.6 ↵jan.nijtmans2019-06-141-1/+1
| |/ / | | | | | | | | | adapted for changes in libtommath
* | | Merge 8.6jan.nijtmans2019-05-311-1/+1
|\ \ \ | |/ /
| * | Rename mp_get_bit to s_mp_get_bit, rename mp_tc_div_2d to mp_signed_rsh, ↵jan.nijtmans2019-05-311-1/+1
| | | | | | | | | | | | remove mp_tc_(add|or|xor) functions in favor of mp_(add|or|xor) which can now handle twos-complement. Following ongoing changes in libtommath development.
| * | integrate sebres-8-6-tommath-1-1 - cherry-picking of several optimizations ↵sebres2019-04-011-0/+15
| |\ \ | | | | | | | | | | | | and simplifications of 8.7 (tommath 1.1), well-arranged branching of long/wide/bignum base and exponent cases, test-cases extended to cover all this branches and edge cases.
| | * | partial cherry pick of [e8e92eb381d689ab]: One more libtommath function, ↵sebres2019-02-041-0/+4
| | | | | | | | | | | | | | | | mp_tc_div_2d, which simplifies code.
| | * | partial cherry pick of [c5c83014d6]: Many simplifications in tclExecute.c, ↵sebres2019-02-041-0/+11
| | | | | | | | | | | | | | | | now that libtommath provides new functions mp_tc_and, mp_tc_or and mp_tc_xor
| * | | Eliminate all usage of mp_iszero/mp_iseven/mp_isodd/mp_isneg from ↵jan.nijtmans2019-03-251-0/+7
| |/ / | | | | | | | | | libtommath: In the upcoming new version those will become real functions, causing possible binary incompatibility. This change makes Tcl independant from libtommath's changes.
| * | Update libtommath to latest stable release (1.1.0)jan.nijtmans2019-02-011-34/+39
| | |
* | | Make internal libtommath stub entries deprecated: Those are not supposed to ↵jan.nijtmans2019-03-141-11/+11
| | | | | | | | | | | | be called in extensions
* | | Use mp_get_bit() instead of mp_iseven()/mp_isodd(): Those latter functions ↵jan.nijtmans2019-03-081-0/+3
| | | | | | | | | | | | are macro's currently, but will be real function in next libtommath. Bad idea for Tcl to depend on ...
* | | One more libtommath function, mp_tc_div_2d, which simplifies code. Some more ↵jan.nijtmans2019-01-221-0/+4
| | | | | | | | | | | | code readability improvements.
* | | Many simplifications in tclExecute.c, now that libtommath provides new ↵jan.nijtmans2019-01-221-0/+11
| | | | | | | | | | | | functions mp_tc_and, mp_tc_or and mp_tc_xor
* | | merge 8.6jan.nijtmans2018-07-311-0/+3
|\ \ \ | |/ /