VecTcl icon indicating copy to clipboard operation
VecTcl copied to clipboard

some datatype tests fail

Open teclabat opened this issue 2 months ago • 1 comments

Dear Christian,

I am compiling using mingw64 on TCL86, all fine but few fail:

datatypes.test
Unknown data type
Unknown data type
Unknown data type
Unknown data type
Unknown data type
Unknown data type
Unknown data type
Unknown data type
Unknown data type
Unknown data type
Unknown data type

==== datatypes fixed-21 FAILED
==== Contents of test case:

        vexpr {int32(tcl::mathfunc::entier(tcl::mathfunc::pow(2,32)))}

---- Result was:
-2147483648i32
---- Result should have been (exact matching):
0i32
==== datatypes FAILED


.... and some more ....


==== datatypes int-1 FAILED
==== Contents of test case:

         vexpr {int(-10**10)}

---- Result was:
-2147483648
---- Result should have been (exact matching):
-10000000000
==== datatypes FAILED

In total it looks like this:

Tests ended at Thu Nov 20 11:35:58 +0100 2025
all.tcl:        Total   251     Passed  241     Skipped 0       Failed  10

Am I doing something wrong when compiling?

Thank You!

teclabat avatar Nov 20 '25 11:11 teclabat