Linked floats cannot be zero or negative
Closed / Fixed1602538fffffffffffffffffffffffffffffffffCreated 20 years agoUpdated 20 years ago
Descriptionplain2006-11-25 00:47:32
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.
andygothplain2006-11-25 07:47:32
File Added - 204337: tclLink.diff
dkf Ticket [1602538fff]: 1 change
[History diff]2006-11-27 06:38:36
dgpplain2007-01-30 00:16:19
Logged In: YES user_id=80530 Originator: NO patch applied.
Log in (anonymous is fine) to add a comment.
Attachments:
- tclLink.diff [download] added by andygoth on 2006-11-25 07:47:32. [details]