Skip to content

The INumber<T>.Sign method states the wrong return type for zero. #11207

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Cbrt74088 opened this issue Apr 18, 2025 · 1 comment
Open

The INumber<T>.Sign method states the wrong return type for zero. #11207

Cbrt74088 opened this issue Apr 18, 2025 · 1 comment
Labels
area-System.Numerics untriaged New issue has not been triaged by the area owner

Comments

@Cbrt74088
Copy link

Type of issue

Typo

Description

The documentation for the INumber<T>.Sign method states that, if the value is zero, it returns INumberBase<TSelf>.Zero,
but this is not true. It returns 0 (Int32).

Page URL

https://learn.microsoft.com/en-us/dotnet/api/system.numerics.inumber-1.sign?view=net-9.0

Content source URL

https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System.Numerics/INumber`1.xml

Document Version Independent Id

08c9282d-7ee5-24b4-c3ad-27bf88718e15

Platform Id

6f757961-432c-9e5c-bb36-7c56c3b31c95

Article author

@dotnet-bot

@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged by the area owner label Apr 18, 2025
Copy link
Contributor

Tagging subscribers to this area: @dotnet/area-system-numerics

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-System.Numerics untriaged New issue has not been triaged by the area owner
Projects
None yet
Development

No branches or pull requests

1 participant