Skip to content

math: add MaxUint, MinInt, MaxInt #28538

@Silentd00m

Description

@Silentd00m

The math package is lacking MaxInt, MaxUint, MinInt and MinUint.

This makes writing programs that assign a max-value to int or uint without manually specifying the value impossible, if you want to run the program on both 32 and 64 bit platforms.

I have written an implementation of the constants mentioned above here: #28537

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions