-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wgsl: Add AF remainder (%) execution tests #3075
Conversation
Depends on division PR, so new code is in the last patch, f9dcf2b |
f9dcf2b
to
d4df945
Compare
Previews, as seen when this build job started (d4df945): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, thanks
src/unittests/floating_point.spec.ts
Outdated
@@ -4400,17 +4405,21 @@ g.test('divisionInterval') | |||
}) | |||
) | |||
.fn(t => { | |||
const trait = FP[t.params.trait]; | |||
// This is a ULP based interval, so abstract should behave like f32, so |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Side task: After a quick review it looked like the FP primer didn't discuss this issue (i.e. using f32 error tolerances for AbstractFloat tolerances for operations whose errors are expressed in ULPs, and why). Please update it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Issue filed, #3079
d4df945
to
9c025aa
Compare
Previews, as seen when this build job started (9c025aa): |
Issue #1626
Requirements for PR author:
.unimplemented()
./** documented */
and new helper files are found inhelper_index.txt
.Requirements for reviewer sign-off:
When landing this PR, be sure to make any necessary issue status updates.