Haxe Code Cookbook


Overview of Haxe code snippets, examples and tutorials tagged with math.

  • Apr 20, 2016 Abstract types /

     abstract-type math

    This abstract type is based on the underlying Float type, but whenever it is converted back to an actual Float it is rounded to avoid the famous rounding errors occuring in floating point aritmetics.‥

  • Sep 29, 2016 Beginner /


    Define integers and floats:‥