Overview of Haxe code snippets, examples and tutorials tagged with math.
Jul 11, 2017 Abstract types / Rounded Float as abstract type
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.‥
Jul 11, 2017 Beginner / Using numbers
Define integers and floats:‥