Haxe Code Cookbook


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

  • Jan 23, 2018 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 23, 2018 Beginner /


    Define integers and floats:‥