Re:The fixed_point C++ Class Template
by strager on Friday August 14, 2015 @01:29PM
(#10061451)
A two-byte fixed-point number is likely to be less expensive to deal with than a two-byte floating-point number. (Promotion and demotion cost is pretty high for small floating-point types (bit masking, shifting, oring, etc.) compared to fixed-point promotion and demotion (shift).)
[ Parent
| on HN ]