Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b7629711ac783f6bbf372f526895546791534a49
Ticket: 761471ffffffffffffffffffffffffffffffffff
INST_EQ issues with NaN
User & Date: msofer on 2004-11-05 16:32:27
Changes

  1. assignee changed to: "kennykb"
  2. icomment:
    Logged In: YES 
    user_id=148712
    
    Note that thismeans that NaN handling in Tcl/VC has been
    broken for a while - our detection is done by the IS_NAN
    macro in tclExecute.c, which tests for exactly this.
    
    Just wild guessing here - maybe there is some compilation
    flag required to get proper IEEE handling, disabled by
    default 'cause it gets slower? 
    One possible solution would be to #define IS_NAN
    conditionally on the compiler being used. Maybe there is an
    equivalent function in VC that could be called? 
    
    Worst case - if the VC bug is unfixable, we should either
    disable the test on that platform, or maybe pay a heavy cost
    in double handling and try detecting NaN on the double's
    string rep?
    
    Assigning to Kevin as our resident VC guru ...
    
    
  3. login: "msofer"
  4. mimetype: "text/plain"
  5. status changed to: "Open"
  6. username: "msofer"