-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
[RFC]: tracking issue for missing float16 constants #9061
Copy link
Copy link
Open
Labels
RFCRequest for comments. Feature requests and proposed changes.Request for comments. Feature requests and proposed changes.Tracking IssueTracking issue.Tracking issue.difficulty: 1Low degree of difficulty. Should be straightforward to implement and/or resolve.Low degree of difficulty. Should be straightforward to implement and/or resolve.priority: LowLow priority concern or feature request.Low priority concern or feature request.
Metadata
Metadata
Assignees
Labels
RFCRequest for comments. Feature requests and proposed changes.Request for comments. Feature requests and proposed changes.Tracking IssueTracking issue.Tracking issue.difficulty: 1Low degree of difficulty. Should be straightforward to implement and/or resolve.Low degree of difficulty. Should be straightforward to implement and/or resolve.priority: LowLow priority concern or feature request.Low priority concern or feature request.
Description
A tracking issue to coordinate the implementation of missing
constants/float16/*packages. Currently, multiple contributors are submitting PRs for float16 constants without visibility into what's already being worked on, leading to duplicate efforts.Rationale
There are currently multiple open PRs for the same constants (e.g.,
ln-twohas #8972 and #9028,log2-ehas #8991 and #9029).Proposed Solution
Create a checklist of all float16 constants that exist in
float32but not in float16. Contributors can submit PRs referencing this issue.Constants to Implement
The following constants exist in
float32but are missing from float16:Mathematical Constants
glaisher-kinkelin- Glaisher-Kinkelin constantsqrt-half- Square root of 1/2sqrt-half-pi- Square root of π/2sqrt-pi- Square root of πsqrt-three- Square root of 3sqrt-two-pi- Square root of 2πLogarithmic Constants
ln-half- Natural logarithm of 1/2ln-pi- Natural logarithm of πln-ten- Natural logarithm of 10ln-two- Natural logarithm of 2ln-two-pi- Natural logarithm of 2πln-sqrt-two-pi- Natural logarithm of √(2π)half-ln-two- Half of natural logarithm of 2log10-e- Base 10 logarithm of elog2-e- Base 2 logarithm of eTechnical/Format Constants
abs-mask- Absolute value masknan- NaN valuefourth-root-eps- Fourth root of machine epsilon[ ]gamma-lanczos-g- Lanczos approximation g valuemin-base10-exponent- Minimum base 10 exponentmin-base10-exponent-subnormal- Minimum base 10 exponent (subnormal)max-base10-exponent-subnormal- Maximum base 10 exponent (subnormal)min-base2-exponent-subnormal- Minimum base 2 exponent (subnormal)Factorial/Sequence Constants
max-nth-factorial- Maximum nth factorialmax-nth-double-factorial- Maximum nth double factorialmax-safe-fibonacci- Maximum safe Fibonacci numbermax-safe-lucas- Maximum safe Lucas numbermax-safe-nth-fibonacci- Maximum safe nth Fibonaccimax-safe-nth-lucas- Maximum safe nth Lucasmax-safe-nth-double-factorial- Maximum safe nth double factorialmax-safe-nth-factorial- Maximum safe nth factorialmax-safe-nth-tribonacci- Maximum safe nth TribonacciRelated Issues
No existing tracking issue found for float16 constants.
Questions
No.
Other
No.
Checklist
RFC:.