Tk Library Source Code

View Ticket
Login
Ticket UUID: 1272910
Title: math::statistics - failed tests with Tcl 8.5
Type: Bug Version: None
Submitter: dgp Created on: 2005-08-25 17:30:01
Subsystem: math :: statistics Assigned To: arjenmarkus
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2006-09-18 23:59:16
Resolution: None Closed By: arjenmarkus
    Closed on: 2006-09-18 16:59:16
Description:
==== Quantiles-1.0 Quantiles - raw data FAILED
==== Contents of test case:

  set values [::math::statistics::quantiles
$::data_linear {0.25 0.55 0.95}]

---- Result was:
2.0 6.0 10.0
---- Result should have been (tolerant matching):
3.0 6.0 10.0
==== Quantiles-1.0 FAILED
User Comments: arjenmarkus added on 2006-09-18 23:59:16:
Logged In: YES 
user_id=400048

I can confirm this: tclkit 8.5a4 returns the same result as
Tcl 8.4. So, indeed: closed

dgp added on 2006-09-18 23:47:57:
Logged In: YES 
user_id=80530



It appears that fixing Tcl
Bug 1275043 has fixed this.
Please confirm and close.

nobody added on 2005-08-28 08:48:19:
Logged In: NO 

see also 1272836

dgp added on 2005-08-26 22:03:42:
Logged In: YES 
user_id=80530

dgparjen, miguel: just a guess, but 1272910 is likely a
tcl_precision sensitivity getting exposed.

arjenmarkus added on 2005-08-26 14:04:56:
Logged In: YES 
user_id=400048

This happens specifically with Tcl 8.5 (I tried on
Sun/Solaris with Tcl 8.4.3 - that worked fine. It also
worked on Windows XP with Tcl 8.4.1 and 8.4.5)

Something is seriously wrong then!