Artifacts Associated With Ticket 2030480
Ticket change [4376453d36] (rid 116556) by pedietz on 2008-07-28 16:41:06:
- assignee initialized to: "dkf"
- cmimetype initialized to: "text/plain"
- comment initialized to:
running 'make test' on a linux RH7.3 box results in: ==== expr-47.12 isqrt of various sizes of integer FAILED ==== Contents of test case: set faults 0 for {set i 0} {$faults < 10 && $i <= 1024} {incr i} { set root [expr {1 << $i}] set rm1 [expr {$root - 1}] set arg [expr {1 << (2 * $i)}] set tval [expr {isqrt($arg-1)}] if {$tval != $rm1} { append trouble "i = " $i ": isqrt(" $arg "-1) == " $tval " != " $rm1 "\n" incr faults } set tval [expr {isqrt($arg)}] if {$tval != $root} { append trouble "i = " $i ": isqrt(" $arg ") == " $tval " != " $root "\n" incr faults } set tval [expr {isqrt($arg+1)}] if {$tval != $root} { append trouble "i = " $i ": isqrt(" $arg "+1) == " $tval " != " $root "\n" incr faults } } set trouble ---- Result was: i = 28: isqrt(72057594037927936-1) == 279620267 != 268435455 i = 28: isqrt(72057594037927936+1) == 279620267 != 268435456 i = 29: isqrt(288230376151711744-1) == 545818760 != 536870911 i = 29: isqrt(288230376151711744+1) == 545818760 != 536870912 i = 30: isqrt(1152921504606846976-1) == 1079707056 != 1073741823 i = 30: isqrt(1152921504606846976+1) == 1079707056 != 1073741824 i = 31: isqrt(4611686018427387904-1) == 2150992608 != 2147483647 i = 31: isqrt(4611686018427387904+1) == 2150992608 != 2147483648 i = 32: isqrt(18446744073709551616-1) == 4296881274 != 4294967295 i = 41: isqrt(4835703278458516698824704-1) == 2199023259647 != 2199023255551 ---- Result should have been (exact matching): ==== expr-47.12 FAILED I dont see any bug reports on this on comp.lang.tcl or on sourceforge... Linux version 2.4.20-20.7smp ([email protected]) (gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-113)) #1 SMP Mon Aug 18 14:46:14 EDT 2003 - foundin initialized to: "obsolete: 8.5.3"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "pedietz"
- subsystem initialized to: "16. Commands A-H"
- title initialized to: "make test fails on 8.5.3 eval isql"
- type initialized to: "Bug"
Ticket change [dd7b774473] (rid 114678) by dgp on 2008-07-29 02:35:45:
- assignee changed to: "dgp"
- closedate changed to: "2008-07-28T19:35:45"
- closer changed to: "dgp"
- icomment:
Logged In: YES user_id=80530 Originator: NO Appears to be a duplicate of Tcl Bug 1609936 (also 1735583). You've likely built Tcl from source with a compiler with a broken optimizer or linked against a buggy C library so that the ldexp() function doesn't work.
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Duplicate"
- status changed to: "Pending"
- subsystem changed to: "56. LibTomMath"
- username: "dgp"
Ticket change [5d5a02e3e9] (rid 115445) by sf-robot on 2008-08-12 09:22:12:
- closedate changed to: "2008-08-12T02:22:12"
- closer changed to: "sf-robot"
- icomment:
Logged In: YES user_id=1312539 Originator: NO This Tracker item was closed automatically by the system. It was previously set to a Pending status, and the original submitter did not respond within 14 days (the time period specified by the administrator of this Tracker).
- login: "sf-robot"
- mimetype: "text/plain"
- status changed to: "Closed"
- username: "sf-robot"