summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Added primitive to allow working coroutine deep introspectiondkf2019-04-232-0/+148
|
* Minor code style cleanup.dkf2019-04-239-428/+788
|
* timerate: code style, doc styledkf2019-04-232-194/+355
|\
| * timerate: code style, doc styledkf2019-04-232-198/+356
| |
* | merge 8.5sebres2019-04-171-16/+62
|\ \ | |/
| * extend performance test-suite, allow several (repeatable) execution of ↵sebres2019-04-171-16/+62
| | | | | | | | | | _test_run (if encosed in _test_start/_test_out_total) to produce same summary; provide possibility for measure of single iterators, etc. small code review
* | Revise coroutines tests so they do not leave behind frame footprints thatdgp2019-04-171-12/+22
| | | | | | can interfere with other tests.
* | Isolate tests of [info frame] results from testing environment.dgp2019-04-171-20/+20
|\ \ | |/
| * Isolate tests of [info frame] results from testing environment.dgp2019-04-171-10/+10
| |
* | Only use special mp_sqrt() code when double format/tommath format are ↵jan.nijtmans2019-04-114-25/+27
| | | | | | | | | | | | exactly what's expected. Otherwise, use original always-working tommath code. Simplify overflow check in bignum expononent code, not using bignums where it's not necessary. Don't overallocate bignums when using wideint's only.
* | merge 8.5sebres2019-04-091-0/+4
|\ \ | |/
| * closes [940ce8f958] - tests/cmdMZ.test: avoid import timerate to global NS ↵sebres2019-04-091-0/+4
| | | | | | | | in tests (e. g. using tcltest -singleproc 1 -file 'cmdMZ* namespace*')
* | merge 8.5sebres2019-04-091-11/+19
|\ \ | |/
| * closes [1e5e25cf2b] - tests/cmdMZ.test: fixed NRT-related sleeps (and ↵sebres2019-04-091-11/+19
| | | | | | | | | | time-related corner cases and test expectations); todo: rewrite several tests if monotonic clock is provided resp. command "after" gets microsecond accuracy (RFE [fdfbd5e10] gets merged)
* | Clarified some documentationdkf2019-04-091-6/+12
| |
* | Added missing test casedkf2019-04-091-0/+24
| |
* | Add --disable-shared builds on win32/win64 (mingw-w64)jan.nijtmans2019-04-091-0/+31
|\ \ | |/
| * Add test-cases for win32/win64 --disable-shared, and put standard ↵jan.nijtmans2019-04-081-2/+33
| | | | | | | | --enable-threads
* | Correct minor documentation typoandy2019-04-091-1/+1
| |
* | Take over recent improvements from libtommath after version 1.1.0.jan.nijtmans2019-04-0517-101/+87
|\ \
| * \ Merge libtommathjan.nijtmans2019-04-0516-93/+64
| |\ \
| | * | Take over improvements from libtommath's development branch (which will ↵jan.nijtmans2019-04-0516-93/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | appear in next version). - More efficient MP_SET_XLONG() macro. - New internal macro's IS_ZERO/IS_EVEN/IS_ODD - Changed signature for XMALLOC/XREALLOC/XFREE
| * | | Merge libtommath v1.1.0jan.nijtmans2019-01-2810-13/+958
| |\ \ \ | | |/ /
| | * | Update to libtommath v1.1.0jan.nijtmans2019-01-2810-13/+958
| | | |
| * | | Merge libtommath v1.1.0-rc4jan.nijtmans2019-01-22160-7488/+10560
| |\ \ \ | | |/ /
| | * | Update to libtommath v1.1.0-rc4jan.nijtmans2019-01-22160-7488/+10560
| | | |
| * | | Branch [https://github.com/libtom/libtommath/commits/no-stdint-h] from ↵jan.nijtmans2018-10-233-11/+10
| |/ / | | | | | | | | | libtommath, by karel-m.
| * | Update libtommath to latest "develop" branchjan.nijtmans2018-10-22145-717/+1216
| | |
| * | Lots of code cleanup, mainly ↵jan.nijtmans2018-03-0183-314/+365
| | | | | | | | | | | | [https://github.com/libtom/libtommath/pull/102|Pull request #102]
* | | Relax timing for some socket tests a little bit. Hopefully this fixes the ↵jan.nijtmans2019-04-051-3/+3
| | | | | | | | | | | | spurious hangs on Travis builds there.
* | | Fix gcc warning on 32-bit platformsjan.nijtmans2019-04-021-0/+4
| | |
* | | integrate sebres-8-6-tommath-1-1 - cherry-picking of several optimizations ↵sebres2019-04-018-301/+287
|\ \ \ | | | | | | | | | | | | 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.
| * | | code reviewsebres2019-02-041-4/+6
| | | |
| * | | cherry pick of [238bd4d2c053540c]..[31dd092df4b57fdb]: More simplifications ↵sebres2019-02-042-152/+206
| | | | | | | | | | | | | | | | in tclExecute.c (INST_EXPON), much more and 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-047-11/+19
| | | | | | | | | | | | | | | | mp_tc_div_2d, which simplifies code.
| * | | partial cherry pick of [c5c83014d6]: Many simplifications in tclExecute.c, ↵sebres2019-02-047-122/+60
| | | | | | | | | | | | | | | | now that libtommath provides new functions mp_tc_and, mp_tc_or and mp_tc_xor
* | | | merge 8.5sebres2019-04-012-3/+16
|\ \ \ \ | | |_|/ | |/| |
| * | | closes [1a3fa1232e306a44], test case cmdMZ-6.5 fixed to cover float value by ↵sebres2019-04-011-2/+5
| | | | | | | | | | | | | | | | iteration per second
| * | | timerate: avoid divide by zero by no iterations in measurement cycle (e. g. ↵sebres2019-04-011-1/+11
| | | | | | | | | | | | | | | | count is 0)
* | | | Turn KARATSUBA_MUL_CUTOFF (insize libtommath) et al into a #define in stead ↵jan.nijtmans2019-03-2811-150/+16
| | | | | | | | | | | | | | | | of exported int symbols.
* | | | merge-markjan.nijtmans2019-03-270-0/+0
|\ \ \ \ | |/ / /
| * | | Update TZ info to tzdata2019ajan.nijtmans2019-03-276-55/+68
| | | |
* | | | Document maximum value for right argument of '**' operator. jan.nijtmans2019-03-278-31/+66
| | | | | | | | | | | | | | | | | | | | Adapt test-cases to test for exactly one more than this maximum value. Make sure that the maximum is the same for DIGIT_BIT > 28. Change macro's for mp_iseven()/mp_isodd() so they don't depend on value of DIGIT_BIT any more.
* | | | Update TZ info to tzdata2019a.José Ignacio Marín2019-03-266-55/+68
| | | |
* | | | Eliminate all usage of mp_iszero/mp_iseven/mp_isodd/mp_isneg from ↵jan.nijtmans2019-03-2510-13/+78
| | | | | | | | | | | | | | | | libtommath: In the upcoming new version those will become real functions, causing possible binary incompatibility. This change makes Tcl independant from libtommath's changes.
* | | | Since only bytes 0xF0 - 0xF4 can be the first byte of a valid 4-byte UTF-8 ↵jan.nijtmans2019-03-241-3/+3
|\ \ \ \ | |/ / / | | | | | | | | byte sequence, account for that in Tcl_UtfCharComplete(). Only effective when TCL_UTF_MAX>3
| * | | Since only bytes 0xF0 - 0xF4 can be the first byte of a valid 4-byte UTF-8 ↵jan.nijtmans2019-03-241-3/+3
| | | | | | | | | | | | | | | | byte sequence, account for that in Tcl_UtfCharComplete(). Only effective when TCL_UTF_MAX>3
* | | | Add entry for 元号 (or NewEra placeholder) to Unicode tables. Since Tcl ↵jan.nijtmans2019-03-212-16/+16
|\ \ \ \ | |/ / / | | | | | | | | doesn't do rendering, this prepares Tcl for the expected may 1 event. See: [http://blog.unicode.org/2018/09/new-japanese-era.html]
| * | | Add entry for 元号 (or NewEra placeholder) to Unicode tables. Since Tcl ↵jan.nijtmans2019-03-212-16/+16
| | | | | | | | | | | | | | | | doesn't do rendering, this prepares Tcl for the expected may 1 event. See: [http://blog.unicode.org/2018/09/new-japanese-era.html]
* | | | Fix outdated commentjan.nijtmans2019-03-211-3/+4
| | | |