Haxe Code Cookbook


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

  • Jan 03, 2017 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.‥

  • Jan 03, 2017 Beginner /


    Define integers and floats:‥