Open zacharylayne opened 7 months ago
Tagging subscribers to this area: @dotnet/area-system-numerics See info in area-owners.md if you want to be subscribed.
Author: | zacharylayne |
---|---|
Assignees: | - |
Labels: | `untriaged`, `Pri3`, `area-System.Numerics`, `:watch: Not Triaged` |
Milestone: | - |
Related to #9468.
@gewarren Can I make the change myself? I think if I do, they will be overwritten by some API change, however the updates to INumberBase are not reflected in the API reference. Is this related to the type being forwarded or anything?
@gewarren Can I make the change myself? I think if I do, they will be overwritten by some API change, however the updates to INumberBase are not reflected in the API reference. Is this related to the type being forwarded or anything?
@zacharylayne Yes, you can make the change yourself. Since it's under the \
BigInteger.MinMagnitude reads: Summary: Compares two values to compute which is lesser.
x The value to compare with y. y The value to compare with x.
Returns: x if it is less than y; otherwise, y.
This would indicate the method is no different than Min.
Instead, MinMagnitude should be:
Summary: Returns the BigInteger with the smallest absolute value.
Returns: The BigInteger with the smallest absolute value. If the absolute values are equal, returns
x
ifx
<0
andy
ifx
>= 0.BigInteger.MaxMagnitude documentation has the same issue.