`SIMD{n}: ElementaryFunctions` conformances
- Dominant language
- Swift
- Stars
- 1.9k
- Forks
- 181
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 6
Description
`ElementaryFunctions` was added to apple/swift with [conformances for `SIMD` types](https://github.com/stephentyrone/swift/blob/8708c7b5819e45e1f44fafd4e0ad02affb3535ad/stdlib/public/core/MathFunctions.swift.gyb#L128-L172). It seems those conformances were dropped when `ElementaryFunctions` was moved to apple/swift-numerics.
Is it reasonable to re-add `SIMD{n}: ElementaryFunctions` conformances to apple/swift-numerics?
---
Context: https://github.com/tensorflow/swift/issues/404
Contributor guide
Research direction
Start by comparing the historical MathFunctions.swift.gyb SIMD conformance section linked in the issue with the current apple/swift-numerics implementation. Read the related tensorflow/swift issue for context and determine whether restoring SIMD{n}: ElementaryFunctions conformances is appropriate. Done means the proposal is resolved with the required conformances and corresponding validation identified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100