Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 6a1dda1c75cb6364957a9aabced45d404a6699ec
Ticket: 3107983fffffffffffffffffffffffffffffffff
Glitch in the constant expression optimization.
User & Date: dgp on 2010-11-18 03:21:50
Changes

  1. icomment:
    According to TIP 232,
    
    "The [expr] command shall be modified so that an expression of the form:
    
       f(arg1,arg2,...)
    
    shall generate code equivalent to that generated by
    
       [tcl::mathfunc::f [expr { arg1 }] [expr { arg2 }] ...]
    "
    
    This means the constant optimizer case is actually
    getting this done as prescribed, and it's the non-constant
    case which is buggy.
    
    The mathfunc.n manpage isn't quite as explicit, but suggests
    the same thing.
    
    
  2. login: "dgp"
  3. mimetype: "text/plain"
  4. username: "dgp"