Fixed Point/ Floating Point
β Fixed Point
-3.141592 = (-) + (3) + (0.141592) need three parts
representation of real data type for a number that has fixed number of digits after radix point
ππ» no complicated logic
ππ» fixed accuracy
ππ» represent limited range of values
ππ» only can represent small number set
ππ» less flexible
β Floating Point
formulaic representation of real numbers as an apporoximation as to support trade off between range and precision
ππ» possible to represent large number set
ππ» slower, lower performance
ππ» accuracy varies
ππ» complex logic
This post is licensed under CC BY 4.0 by the author.