Original Post
Is multiplying a given double variable by 0.25 faster than dividing the variable by 4? Is multiplication always faster than division?
Quote:
Original post by Enigma
Assuming C/C++, any modern optimising compiler should generate exactly the same assembly code from both.
This topic has been locked by a moderator. New replies are not allowed.
With your permission, GameDev.net uses analytics cookies to understand how people use the platform. You can accept analytics or continue with necessary cookies only. Learn more