HaxeFoundation / HaxeFoundation/haxe
Min/Max constants for numeric values
Open
Hacktoberfest
standard library
- Dominant language
- Haxe
- Stars
- 6.9k
- Forks
- 715
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 11
Description
Haxe lacks min/max constants for numeric (`Int`, `Float`, `UInt`) types.
There is an implementation in as3hx [Float](https://github.com/HaxeFoundation/as3hx/blob/master/src/as3hx/Compat.hx#L216-L258) [Int](https://github.com/HaxeFoundation/as3hx/blob/master/src/as3hx/Compat.hx#L260-L305)
Those constants could be added to `Math` class or to corresponding base types (like `Int.MAX`, `Float.MIN` etc).
Contributor guide
Assessment
This issue has not been assessed yet.