FLOOR FUNCTION C++

Asked By 5 points N/A Posted on -
qa-featured

I want to define an effective whole floor function, i. e. A float or double conversion, which truncates to minus infinity. Can you imagine ideas to increase your performance in terms of speed, accuracy or range?

SHARE
Answered By 10 points N/A #318465

FLOOR FUNCTION C++

qa-featured

The algorithm proposed on the website should be much more effective than the simple casting. I have never used it myself, but here is the performance comparison proposed on the site.

Related Questions