Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2026-05-08
16:46 • Closed ticket [eda0eaad01]: TIP #745 breaks CI build for all platforms. plus... artifact: 90c3f4bc77 user: dkf
16:45 • Ticket [eda0eaad01]: 3 changes artifact: efd02aa036 user: dkf
2026-05-05
12:26 • Ticket [eda0eaad01]: 3 changes artifact: 01d777b1df user: jan.nijtmans
12:26 • New ticket [eda0eaad01]. artifact: 29350f2ec4 user: jan.nijtmans

TIP #745 breaks CI build for all platforms.

Closed / Fixededa0eaad0143ff1bc77da9e83decb67d50c01151Created 211 days agoUpdated 208 days ago
Descriptionwiki2026-05-05 12:26:22
See: https://github.com/tcltk/tcl/actions?query=branch%3Amain
mathfunc.test

==== mathfunc-atanh.4 atanh: valid result FAILED ==== Contents of test case:

tcl::mathfunc::atanh 0.5

---- Result was: 0.5493061443340548 ---- Result should have been (exact matching): 0.5493061443340549 ==== mathfunc-atanh.4 FAILED

==== mathfunc-cbrt.3 cbrt: valid result FAILED ==== Contents of test case:

tcl::mathfunc::cbrt -27

---- Result was: -3.0000000000000004 ---- Result should have been (exact matching): -3.0 ==== mathfunc-cbrt.3 FAILED

==== mathfunc-erfc.3 erfc: valid result FAILED ==== Contents of test case:

tcl::mathfunc::erfc 1

---- Result was: 0.15729920705028513 ---- Result should have been (exact matching): 0.1572992070502851 ==== mathfunc-erfc.3 FAILED

==== mathfunc-remquo.3 remquo: valid result FAILED ==== Contents of test case:

remquo 12.5 1.5

---- Result was: 0.5 0 ---- Result should have been (exact matching): 0.5 8 ==== mathfunc-remquo.3 FAILED

==== mathfunc-remquo.3 remquo: valid result FAILED ==== Contents of test case:

remquo 12.5 -1.5

---- Result was: 0.5 0 ---- Result should have been (exact matching): 0.5 -8 ==== mathfunc-remquo.3 FAILED

mathop.test

Really?

jan.nijtmans Ticket [eda0eaad01]: 3 changes [History diff]2026-05-05 12:26:34
dkfwiki2026-05-08 16:45:45

I believe this is fixed in [2c9ec73c7f3e6764]. The problem was:

  1. Some 1ULP bugs in C runtimes. No idea who is correct, but we don't care to sort that out. The TIP says you get the bugs of the runtimes.
  2. remquo doesn't define how many bits of validity exist in the second argument. (Or exactly what it is there for except as an indication of what sort of rounding/error occurred.) I've made it so that we just test that it's present; the standard doesn't really constrain it enough. Or we could ask Kevin Kenny to explain it.

dkf Closed ticket [eda0eaad01]. [History diff]2026-05-08 16:46:13
Log in (anonymous is fine) to add a comment.