Forum Discussion
What percentage of most applications are spent doing fractional math?
I suspect it is in the single digits, i.e. less than 10%. Probably closer to 1%.
Optimizing 1% of your code to execute 10X (or even 100X) faster is not going to be noticeable.
What you have proposed might make an interesting technical paper or senior project, but is not a practical commercial application.
- sf90p3 years ago
New Contributor
Yes though 10-100 times faster is a noticeable thing. It's a choice I guess though converting a lot would result in a rounding issue.
Popular may be popular.
Also have to look at practical advantages, half way along an edge is just simple, so is scaling so 100 pillars on a building is just x = n * (buildingwidth/pillarcount.) is something we already do.
Not sure what PI equals to as a fraction to 64 bit places.
- Anonymous3 years ago
This is a really silly discussion.
Doc (not an Intel employee or contractor)
[Maybe Windows 12 will be better]- sf90p3 years ago
New Contributor
Not really a silly discussion, 100 times faster and I would be seeing rainfall with puddle reflections in my games.
It's wrong to hardcode and decimal math is a form of hardcode format.
Is it a way cogs really turn? You could say a fraction of or a distance, eithway fraction math may work and be faster than decimal math?
There's probably a Paper out there...