Tcl Source Code

View Ticket
Login
Ticket UUID: 1602538
Title: Linked floats cannot be zero or negative
Type: Bug Version: obsolete: 8.5a6
Submitter: andygoth Created on: 2006-11-25 00:47:32
Subsystem: 09. Linked C Variables Assigned To: dgp
Priority: 9 Immediate Severity:
Status: Closed Last Modified: 2007-01-30 00:16:19
Resolution: Fixed Closed By: dgp
    Closed on: 2007-01-29 17:16:19
Description:
A linked C float variable cannot be set to zero or negative from Tcl script; such values are treated as invalid.  The reason is that FLT_MIN is used as the minimum acceptable float value, but FLT_MIN is positive.  -FLT_MAX should be used instead.  See attached patch for a fix.
User Comments: dgp added on 2007-01-30 00:16:19:
Logged In: YES 
user_id=80530
Originator: NO


patch applied.

andygoth added on 2006-11-25 07:47:32:

File Added - 204337: tclLink.diff

Attachments: