Skip to content
Tcl Source Code History Of Ticket 2030480
Login

History Of Ticket 2030480

Artifacts Associated With Ticket 2030480

  1. Ticket change [4376453d36] (rid 116556) by pedietz on 2008-07-28 16:41:06:

    1. assignee initialized to: "dkf"
    2. cmimetype initialized to: "text/plain"
    3. 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
      
      
    4. foundin initialized to: "obsolete: 8.5.3"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "pedietz"
    10. subsystem initialized to: "16. Commands A-H"
    11. title initialized to: "make test fails on 8.5.3 eval isql"
    12. type initialized to: "Bug"
  2. Ticket change [dd7b774473] (rid 114678) by dgp on 2008-07-29 02:35:45:

    1. assignee changed to: "dgp"
    2. closedate changed to: "2008-07-28T19:35:45"
    3. closer changed to: "dgp"
    4. 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.
      
      
      
      
    5. login: "dgp"
    6. mimetype: "text/plain"
    7. resolution changed to: "Duplicate"
    8. status changed to: "Pending"
    9. subsystem changed to: "56. LibTomMath"
    10. username: "dgp"
  3. Ticket change [5d5a02e3e9] (rid 115445) by sf-robot on 2008-08-12 09:22:12:

    1. closedate changed to: "2008-08-12T02:22:12"
    2. closer changed to: "sf-robot"
    3. 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).
      
      
    4. login: "sf-robot"
    5. mimetype: "text/plain"
    6. status changed to: "Closed"
    7. username: "sf-robot"