Skip to content

Allow isinf to return false for infinities - #826

Closed
dneto0 wants to merge 1 commit into
gpuweb:mainfrom
dneto0:relax-isinf
Closed

dneto0 wants to merge 1 commit into
gpuweb:mainfrom
dneto0:relax-isinf

Conversation

@dneto0

@dneto0 dneto0 commented Nov 5, 2021 •

Copy link
Copy Markdown
Contributor

Author checklist for test code/plans:

  • All outstanding work is tracked with "TODO" in a test/file description or .unimplemented() on a test.
  • New helpers, if any, are documented using /** doc comments */ and can be found via helper_index.txt.
  • (Optional, sometimes not possible.) Tests pass (or partially pass without unexpected issues) in an implementation. (Add any extra details above.)

Reviewer sign-off for test code/plans: (Note: feel free to pull in other reviewers at any time for any reason.)

  • The test path is reasonable, the description "describes the test, succinctly, but in enough detail that a reader can read only the test plans in a file or directory and evaluate the completeness of the test coverage."
  • Tests appear to cover this area completely, except for outstanding TODOs. Validation tests use control cases.
    (This is critical for coverage. Assume anything without a TODO will be forgotten about forever.)
  • Existing (or new) test helpers are used where they would reduce complexity.
  • TypeScript code is readable and understandable (is unobtrusive, has reasonable type-safety/verbosity/dynamicity).

@dneto0
dneto0 requested a review from ben-clayton November 5, 2021 18:55
@dneto0

dneto0 commented Nov 5, 2021

Copy link
Copy Markdown
Contributor Author

Passed on SwiftShader

@github-actions

github-actions Bot commented Nov 5, 2021

Copy link
Copy Markdown

Previews, as seen when this build job started (69103b5):
Run tests | View tsdoc

@ben-clayton ben-clayton left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see no value in these builtins if the results are undefined.

I'd rather we removed the isInf and isNan builtins from the language.

@dneto0

dneto0 commented Nov 16, 2021

Copy link
Copy Markdown
Contributor Author

IsInf, isNan are being removed. gpuweb/gpuweb#2311

@dneto0 dneto0 closed this Nov 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants