Skip to content

Conversation

@eiriktsarpalis
Copy link
Member

@eiriktsarpalis eiriktsarpalis commented Feb 27, 2024

Reduces the default tolerances to 15 digits for double, 6 digits for float and 4 digits for Half. Reworks the test cases such that tolerances can be overridden individually for each floating point type. The goal of this PR is to better quantify which TP methods deviate from the scalar implementations precision-wise.

Contributes to #98861.

@ghost
Copy link

ghost commented Feb 27, 2024

Tagging subscribers to this area: @dotnet/area-system-numerics
See info in area-owners.md if you want to be subscribed.

Issue Details

Increases the default tolerances to 15 digits for double, 6 digits for float and 4 digits for Half. Reworks the test cases such that tolerances can be overridden individually for each floating point type.

Contributes to #98861.

Author: eiriktsarpalis
Assignees: eiriktsarpalis
Labels:

area-System.Numerics

Milestone: -

@eiriktsarpalis eiriktsarpalis added this to the 9.0.0 milestone Feb 27, 2024
@eiriktsarpalis eiriktsarpalis changed the title Increase tolerances for floating point types in TP tests. Reduce tolerances for floating point types in TP tests. Feb 29, 2024
@eiriktsarpalis eiriktsarpalis force-pushed the tp-increase-test-tolerances branch from 917b708 to 38c23c0 Compare February 29, 2024 18:30
@eiriktsarpalis eiriktsarpalis merged commit e6bce51 into dotnet:main Feb 29, 2024
@eiriktsarpalis eiriktsarpalis deleted the tp-increase-test-tolerances branch February 29, 2024 21:30
@github-actions github-actions bot locked and limited conversation to collaborators Mar 31, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants