Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 406 Bytes

README.md

File metadata and controls

24 lines (15 loc) · 406 Bytes

min-max

A small library to provide min and max cross-platform constants for Int and Float types.

Install

  • lix install gh:skial/min-max

Example

package ;

using be.Constant;

class Main {

    public static function main() {
        trace( Floats.MIN, Floats.MAX, Floats.MIN - 1, Floats.MAX + 1 );
        trace( Ints.MIN, Ints.MAX, Ints.MIN - 1, Ints.MAX + 1 );
    }

}