Content deleted Content added
No edit summary |
m remove link to deleted Portal:Computer science, after WP:Miscellany for deletion/Portal:Computer science |
||
Line 1:
{{
{{Use dmy dates|date=August 2019|cs1-dates=y}}
'''Binary scaling''' is a [[computer programming]] technique used typically in embedded [[C (programming language)|C]], [[Digital signal processing|DSP]] and [[assembly language|assembler]] programs to implement pseudo-[[floating point]] operations by using the native [[integer]] arithmetic of the processor.
==Overview==
Line 81:
Binary scaling is currently used in the [[Discrete cosine transform|DCT]] used to compress [[JPEG]] images in utilities such as [[GIMP]].
Although floating point has taken over to a large degree, where speed and extra accuracy are required, binary scaling works on simpler hardware and is more accurate when the range of values is known in advance.{{Clarify|date=March 2016|post-text=→[[Talk:
==See also==
* [[Libfixmath]] – a library written in C for fixed-point math
* [[Q (number format)]]
|