Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: f0d84ab494b03eb33914f850ae2e8d5307b58cc3
Ticket: 1617840fffffffffffffffffffffffffffffffff
128 bit arithmetic on x86_64
User & Date: decosterjos on 2006-12-18 09:25:53
Changes

  1. assignee changed to: "dgp"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    After compiling tcltest from the CVS head on 18-dec-2006 on a 64bit linux machine (Intel Xeon) using gcc3.2.3, several tests with doubles failed. An example:
    
    set x [expr 30.0e1]
    puts "x='$x'"
    
    This caused an infinite loop in mp_div (bn_mp_div.c). Daniel Steffen proposed a patch on the tcl chat as he had done for Darwin:
    
    2006-08-18  Daniel Steffen 
    
    * generic/tclTomMath.h: on Darwin 64-bit, for now disable use of 128-bit arithmetic through __attribute__ ((mode(TI))), as it leads to link errors due to missing fallbacks. (rdar://4685527)
    
    
    Making sure MP_64BIT is not defined in tclTomMath.h solves the problem.
    
    Regards,
    
    Jos.
    
    
  4. foundin changed to: "None"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "decosterjos"
  10. subsystem changed to: "48. Number Handling"
  11. title changed to: "128 bit arithmetic on x86_64"
  12. type changed to: "Bug"