bugGNU Octave - Bugs: bug #65075, Tolerances for complementary error...


bug #65075: Tolerances for complementary error function are higher with UCRT

Submitter:  Markus Mützel <mmuetzel>
Submitted:  Fri 22 Dec 2023 09:50:55 PM UTC
Category:  Libraries Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Inaccurate Result
Status:  None Assigned to:  None
Originator Name:  Open/Closed:  * Open
Release:  * dev Operating System:  * Microsoft Windows
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup

Sat 23 Dec 2023 02:58:13 PM UTC, comment #1: 

Pushed a changeset here that marks this test as a known issue on Windows:

Markus Mützel <mmuetzel>
Group administrator
Fri 22 Dec 2023 09:50:55 PM UTC, original submission:  

When using functions from the Universal C runtime (UCRT) on Windows, a test for the complementary error function with single precision floating point values has higher deviations than on other platforms:

***** assert (erfcinv (erfc (single ([-3 -1 -0.4 0.7 1.3 2.8]))),
        single ([-3 -1 -0.4 0.7 1.3 2.8]), -1e-4)
!!!!! test failed
ASSERT errors for:  assert (erfcinv (erfc (single ([-3, -1, -0.4, 0.7, 1.3, 2.8]))),single ([-3, -1, -0.4, 0.7, 1.3, 2.8]),-1e-4)

  Location  |  Observed  |  Expected  |  Reason
    (1)        -2.9994         -3        Rel err 0.00019693 exceeds tol 0.0001 by 0.0001

I'm not sure if there is anything Octave can do about that.

Opening this report so we can tag this as a known issue in the test suite.

Markus Mützel <mmuetzel>
Group administrator


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by mmuetzel (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.


    No changes have been made to this item

    Back to the top

    Powered by Savane 3.12.
    Corresponding source code