Skip to content

[Peek] NumberOfDigits(int.MinValue) throws unhandled OverflowException #46960

@crutkas

Description

@crutkas

Bug

Math.Abs(int.MinValue) throws OverflowException. Edge case crash path.
Found by AI test review fleet

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-BugSomething isn't workingProduct-PeekRefers to Peek Powertoys

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions