Overview of Haxe code snippets, examples and tutorials tagged with math.
Jan 11, 2018 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.‥
Jan 11, 2018 Beginner / Using numbers
Define integers and floats:‥