Hello,I am after a fast floor function; In fact a fast truncation and conversion to integer. I see that std.math takes a real, and that std.c.math takes a double.
Is there a quicker function, and what might cast(int)1.5f do? Regards, Spacen.
Hello,I am after a fast floor function; In fact a fast truncation and conversion to integer. I see that std.math takes a real, and that std.c.math takes a double.
Is there a quicker function, and what might cast(int)1.5f do? Regards, Spacen.