Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 9028cdd

Browse files
Offer a checklist for math PRs
1 parent 43dabd1 commit 9028cdd

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
Hello, welcome to `std::simd`!
2+
3+
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!
4+
5+
For a given vector math operation on TxN, please add tests for interactions with:
6+
- [ ] `T::MAX`
7+
- [ ] `T::MIN`
8+
- [ ] -1
9+
- [ ] 1
10+
- [ ] 0
11+
12+
13+
For a given vector math operation on TxN where T is a float, please add tests for test interactions with:
14+
- [ ] a really large number, larger than the mantissa
15+
- [ ] a really small "subnormal" number
16+
- [ ] NaN
17+
- [ ] Infinity
18+
- [ ] Negative Infinity

0 commit comments

Comments
 (0)