summaryrefslogtreecommitdiffstats
path: root/generic/tclTomMathDecls.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-12-13 21:22:11 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-12-13 21:22:11 (GMT)
commit676312d822af3fa126c18f6ba91f183a868f4259 (patch)
tree53fd54aeef287d9f96e9194d5a13e22504c81681 /generic/tclTomMathDecls.h
parentbe44843404a002a18aca9b059109c34cb538a8f3 (diff)
parent9eeefad066a16a6e9a3407178f7629a8cd4c0e61 (diff)
downloadtcl-676312d822af3fa126c18f6ba91f183a868f4259.zip
tcl-676312d822af3fa126c18f6ba91f183a868f4259.tar.gz
tcl-676312d822af3fa126c18f6ba91f183a868f4259.tar.bz2
Merge 8.7
Diffstat (limited to 'generic/tclTomMathDecls.h')
-rw-r--r--generic/tclTomMathDecls.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/generic/tclTomMathDecls.h b/generic/tclTomMathDecls.h
index 9a13a1a..d6d8baf 100644
--- a/generic/tclTomMathDecls.h
+++ b/generic/tclTomMathDecls.h
@@ -589,6 +589,9 @@ extern const TclTomMathStubs *tclTomMathStubsPtr;
#undef mp_isodd
#define mp_iseven(a) (!mp_isodd(a))
#define mp_isodd(a) (((a)->used != 0 && (((a)->dp[0] & 1) != 0)) ? MP_YES : MP_NO)
+#undef mp_sqr
+#define mp_sqr(a,b) mp_mul(a,a,b)
+
#undef TCL_STORAGE_CLASS
#define TCL_STORAGE_CLASS DLLIMPORT