Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 82dc3c793d5aae576082cbdbade684d621b0a470
Ticket: 3105247fffffffffffffffffffffffffffffffff
-NaN?
User & Date: nijtmans on 2010-11-29 17:02:49
Changes

  1. icomment:
    OK, thanks!
    
    >it's probably unfixable until 9.0
    Maybe, maybe not. Anything can be fixed when the TCT agrees about
    it. The way I understand it is that it is important for you (== kevin), that
    different internal representations lead to different string representations.
    
    How about changing the string representation of "-NaN" to
    "NaN(-ffffffffffffffff)". Then it is immediately clear that we are
    dealing with a non-conforming NaN here. Advantage: the
    confusion that lead to this issue is gone, and matching against
    it is easier (just "NaN*" suffices). It would be a potential
    incompatibility for people using negative NaN's, and the
    parser needs to be extended to handle an additinal sign
    character. But it's a relatively small change.
    
    This could be an intermediate solution towards 9.0,
    if no-one complains about it, we know whether it is
    safe to remove the '-'-sign altogether.
    
    I'll see if I can come up with a patch, as a base
    for further discussion.
    
    Again, Thanks!
    
    
  2. login: "nijtmans"
  3. mimetype: "text/plain"
  4. username: "nijtmans"