summaryrefslogtreecommitdiffstats
path: root/generic/tclTomMath.h
Commit message (Collapse)AuthorAgeFilesLines
* Re-generate tclTomMath.h. Fix win32 build (due to the use of uint8_t)jan.nijtmans2018-03-011-24/+24
|
* Merge latest 'const'ification changes from libtommath (develop branch, will ↵jan.nijtmans2017-10-031-5/+5
| | | | be in next release). None of those are used in Tcl.
* Finish libtommath's constification work. All done (hopefully). And make sure ↵jan.nijtmans2017-09-181-4/+4
| | | | that C preprocessor directives have the '#' as first character on the line.
* Another round of libtommath const'ification. To be submitted to the ↵jan.nijtmans2017-09-181-28/+28
| | | | libtommath folks
* Merge libtommath upstream changes (astyle formatting only). No functional ↵jan.nijtmans2017-09-181-78/+78
| | | | changes. All Tcl-specific modifications are kept.
* 'const'ify more libtommath functions. All functions in ↵jan.nijtmans2017-09-151-8/+8
| | | | generic/tclTomMath.decls (used by Tcl) are done now.
* Remove some unnecessary #if 0 sections. Fix comments and panic messages. No ↵jan.nijtmans2017-09-141-1/+1
| | | | functional changes.
* Many 'const' addtions in libtommath where it makes sense. To be submitted ↵jan.nijtmans2017-09-111-19/+19
| | | | back to the libtommath guys.
* Add some more functions from libtommath for availability within Tcl (mainly ↵jan.nijtmans2017-09-081-2/+2
| | | | the 'long long' variants). Add more 'const' keywords there too.
* Fix use of "long long" (manually) in MSVCjan.nijtmans2017-09-061-8/+14
|
* Tweak libtommath building, such that it doesn't depend on uint64_t any more. ↵jan.nijtmans2017-08-301-0/+15
| | | | (handle mp_word in the same way as mp_digit)
* a few missing bits after previous commitjan.nijtmans2017-08-291-12/+2
|
* Merge libtommath 1.0.1 finaljan.nijtmans2017-08-291-3/+3
|
* libtommath 1.0.1 rc2, for test purposes onlyjan.nijtmans2017-08-291-9/+9
|
* Fix mp_cnt_lsb() signature, so it matches the signature used in Tcljan.nijtmans2016-11-181-2/+1
|\
| * Fix mp_cnt_lsb() signature, so it matches the signature used in Tcl. Add two ↵jan.nijtmans2016-11-181-1/+1
| | | | | | | | missing "static" keywords in tclUnixNotfy.c. Remove some more files in libtommath directory which are not useful for Tcl.
* | Fix [e6f27aa56fa51bfc1752ce768bf0d301c60bfd2c|e6f27aa56f]: Update libtommath ↵jan.nijtmans2016-11-181-150/+121
|\ \ | |/ |/| | | to 1.0
| * Add test-case for mp_iseven(). If mp_iseven(0) ever returns 0, we will be ↵jan.nijtmans2016-11-171-1/+1
| | | | | | | | warned that we are using the wrong mp_iseven() function.
| * Merge trunk. Re-generate tclTomMath.h. Use faster exponentiation-function ↵jan.nijtmans2016-11-171-148/+119
|/ | | | from libtommath 1.0 (in tclExecute.c).
* [Bug 2991415]: tclport.h #include'd before limits.hjan.nijtmans2011-11-301-1/+0
|
* Now that we're no longer using SCM based on RCS, the RCS Keyword linesdgp2011-03-021-7/+0
|\ | | | | cause more harm than good. Purged them (except in zlib files).
| * Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-021-7/+0
| | | | | | more harm than good. Purged them.
| * * generic/tclTomMathInt.h (new): Public header tclTomMath.h haddgp2009-10-061-4/+2
| | | | | | | | | | * generic/tclTomMath.h: dependence on private headers, breaking use * generic/tommath.h: by extensions [Bug 1941434].
* | CONSTify various useful internal functionsnijtmans2010-05-031-11/+11
| | | | | | | | | | (TclBignumToDouble, TclCeil, TclFloor), and related tommath functions.
* | Use "tclIO.h" and "tclTomMathDecls.h" everywherenijtmans2010-05-031-30/+32
| |
* | If tclInt.h or tclPort.h is alreadynijtmans2010-04-271-9/+4
| | | | | | | | | | | | | | included, don't include <limits.h> again. Follow-up to [Bug 2991415]: tclport.h #included before limits.h See comments in [Bug 2991415]
* | * generic/tclTomMathInt.h (new): Public header tclTomMath.h haddgp2009-10-061-4/+2
|/ | | | | * generic/tclTomMath.h: dependence on private headers, breaking use * generic/tommath.h: by extensions [Bug 1941434].
* 2007-02-13 Kevin Kenny <kennykb@acm.org>Kevin B Kenny2007-02-141-4/+4
| | | | | | | | * tools/fix_tommath_h.tcl: Further tweaking for the x86-64. The change is to make 'mp_digit' be an 'unsigned int' on that platform; since we're using only 32 bits of it, there's no reason to make it a 64-bit 'unsigned long.' * generic/tclTomMath.h: Regenerated.
* * tools/fix_tommath_h.tcl: Added code to patch out a check forKevin B Kenny2007-02-131-15/+5
| | | | | | | | | __x86_64__ that caused Tommath to use __attributes(TI)__ for the mp_word type. Tetra-int's simply fail on too many gcc-glibc-OS combinations to be ready for shipment today, even if they work for some of us. This change allows reversion of das's change of 2006-08-18 that accomplised the same thing on Darwin. * generic/tclTomMath.h: Regenerated.
* removed BZ_DIV_CUTOFF declaration now that it's gone from libtommathdas2006-12-021-4/+3
|
* declare new BZ_DIV_CUTOFF global as MODULE_SCOPEdas2006-12-011-3/+4
|
* * unix/tcl.m4 (Darwin): add support for --enable-64bit on x86_64, fordas2006-08-181-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | universal builds including x86_64, for 64-bit CoreFoundation on Leopard and for use of -mmacosx-version-min instead of MACOSX_DEPLOYMENT_TARGET. * unix/configure: autoconf-2.59 * unix/tclConfig.h.in: autoheader-2.59 * generic/tcl.h: add fixes for building on Leopard and support * unix/tclUnixPort.h: for 64-bit CoreFoundation on Leopard. * macosx/tclMacOSXFCmd.c: * unix/tclUnixPort.h: on Darwin x86_64, disable use of vfork as it causes execve to fail intermittently. (rdar://4685553) * generic/tclTomMath.h: on Darwin 64-bit, for now disable use of 128-bit arithmetic through __attribute__ ((mode(TI))), as it leads to link errors due to missing fallbacks. (rdar://4685527) * macosx/Tcl.xcodeproj/project.pbxproj: add x86_64 to universal build, switch native release targets to use DWARF with dSYM, Xcode 3.0 changes. * macosx/README: updates for x86_64 and Xcode 2.3. * macosx/Tcl.xcodeproj/default.pbxuser: add test suite target that runs * macosx/Tcl.xcodeproj/project.pbxproj: the tcl test suite at build time and shows clickable test suite errors in the GUI build window. * tests/macOSXFCmd.test: fix use of deprecated resource fork paths. * unix/tclUnixInit.c (TclpInitLibraryPath): move code that is only needed when TCL_LIBRARY is defined to run only in that case. * generic/tclLink.c (LinkTraceProc): fix 64-bit signed-with-unsigned comparison warning from gcc4 -Wextra.
* Export stubs for libtommath; fix mingw compiler warningsKevin B Kenny2005-12-131-112/+826
|
* TIP#237 IMPLEMENTATIONdgp2005-10-081-1/+12
| | | | | | [kennykb-numerics-branch] Resynchronized with the HEAD; at this checkpoint [-rkennykb-numerics-branch-20051008], the HEAD and kennykb-numerics-branch contain identical code.
* update tclTomMath.h for bug 1263012Kevin B Kenny2005-09-261-1/+11
|
* Merged kennykb-numerics-branch back to the head; TIPs 132 and 232Kevin B Kenny2005-05-101-0/+109