View Single Post
Old 17 August 2015, 15:15   #21
Megol
Registered User

Megol's Avatar
 
Join Date: May 2014
Location: inside the emulator
Posts: 228
Quote:
Originally Posted by Mrs Beanbag View Post
nice, so they started converting it from floating point to integer, i don't know why it was ever in floating point to begin with to be honest.

floating point is overrated imho.
Quake 2 used floating point because it was (and is - for modern systems) faster than using integer math. Floating point also have advantages numerically which makes using integer math a really dumb choice unless optimizing for a specific platform.

Theoretically scaled integer math could be faster than floating point math however in practice it isn't. Just look at latency/throughput figures for modern processor cores.

Edit: The engine is extremely impressive and the thread describing different optimizations is a goldmine for optimization freaks.
Megol is offline  
AdSense AdSense  
 
Page generated in 0.06501 seconds with 9 queries