Offer a checklist for math PRs
This commit is contained in:
parent
43dabd1aea
commit
9028cdde14
1 changed files with 18 additions and 0 deletions
18
.github/PULL_REQUEST_TEMPLATE.md
vendored
Normal file
18
.github/PULL_REQUEST_TEMPLATE.md
vendored
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
Hello, welcome to `std::simd`!
|
||||
|
||||
It seems this pull request template checklist was created while a lot of vector math ops were being implemented, and only really applies to ops. Feel free to delete everything here if it's not applicable, or ask for help if you're not sure what it means!
|
||||
|
||||
For a given vector math operation on TxN, please add tests for interactions with:
|
||||
- [ ] `T::MAX`
|
||||
- [ ] `T::MIN`
|
||||
- [ ] -1
|
||||
- [ ] 1
|
||||
- [ ] 0
|
||||
|
||||
|
||||
For a given vector math operation on TxN where T is a float, please add tests for test interactions with:
|
||||
- [ ] a really large number, larger than the mantissa
|
||||
- [ ] a really small "subnormal" number
|
||||
- [ ] NaN
|
||||
- [ ] Infinity
|
||||
- [ ] Negative Infinity
|
||||
Loading…
Add table
Add a link
Reference in a new issue