Fixed Point Arithmetic

What’s the point of fixed point?

Fixed point is the solution to a problem.

Problem: I want to do arithmetic with fractional resolution but I can’t afford the CPU cycles to use floating point.

Solution: Fixed point.

Read in full here:

https://vha3.github.io/FixedPoint/FixedPoint.html

This thread was posted by one of our members via one of our news source trackers.

2 Likes

Corresponding tweet for this thread:

Share link for this tweet.

2 Likes

Problem: I want to do arithmetic with fractional resolution but I can’t afford the CPU cycles to use floating point.

Not the only reason you’d want to use fractional resolution but not floating resolution. Like money is a big reason to use fixed point if it can be divided by powers of two evenly (though really, just keep it as an integer of the lowest monatary unit value).

1 Like