Skip to content
Tcl Source Code Artifact [c998b4512f]
Login

Artifact [c998b4512f]

Artifact c998b4512f21c1145f8e79e6148f347393c1e69e:

Ticket change [c998b4512f] - Ticket [2143288fffffffff|2143288fff] <i>isqrt &#39;make check&#39; failure</i> status still Open with 4 other changes by mboffey2 on 2008-10-04 05:23:06.
D 2008-10-04T05:23:06
J icomment I\ssee\sthat\sthis\sissue\shas\scome\sup\sbefore\s-\sthere\sare\sseveral\sclosed\stickets\sthat\slook\slike\sexactly\sthe\nsame\sissue\s(2030480\s\s1609936\s(which\sin\sturn\smentions\s1735583)).\nCompiling\swithout\soptimisation\s(or\sdebugging\sprints)\sgets\sexpr.test\sto\spass,\showever\sthere\sare\nstill\svalues\sthat\sfail,\sfor\sexample\s(1<<56)\s+\s(1<<5)\s-\n\nmalc@piglet:~/src/tcl/tcl8.6a2/unix>\s./tcltest\s../tests/expr.test\s\nexpr.test:\s\s\s\s\s\sTotal\s\s\s1749\s\s\s\sPassed\s\s1743\s\s\s\sSkipped\s6\s\s\s\s\s\s\sFailed\s\s0\nNumber\sof\stests\sskipped\sfor\seach\sconstraint:\n\s\s\s\s\s\s\s\s5\s\s\s\s\s\s\s!ieeeFloatingPoint\n\s\s\s\s\s\s\s\s1\s\s\s\s\s\s\slongIs64bit\nmalc@piglet:~/src/tcl/tcl8.6a2/unix>\s./tcltest\s~/isqrt.tcl\nd=100000000000020\sq=10aaaaab\sqq=115c71c7ce38e39\nmalc@piglet:~/src/tcl/tcl8.6a2/unix>\stclsh8.6\s~/isqrt.tcl\nd=100000000000020\sq=10000000\sqq=100000000000000\n\n(where\s./tcltest\sis\sunmodified\scompiled\swith\s-O0,\stclsh8.6\shas\sthe\sabove\spath\sapplied).\nisqrt.tcl\s-\n\nset\sd\s[expr\s(1<<56)\s+\s(1<<5)]\nset\sq\s[expr\sisqrt($d)]\nset\sqq\s[expr\s$q*$q]\nputs\s[format\s"d=%llx\sq=%llx\sqq=%llx"\s$d\s$q\s$qq]\n\n
J login mboffey2
J mimetype text/plain
J username mboffey2
K 2143288fffffffffffffffffffffffffffffffff
U mboffey2
Z 3609f8cfe1ec03dc47e1eaafa64b2472