Block Floating-point Scaling
   HOME

TheInfoList



OR:

Block floating point (BFP) is a method used to provide an arithmetic approaching
floating point In computing, floating-point arithmetic (FP) is arithmetic that represents real numbers approximately, using an integer with a fixed precision, called the significand, scaled by an integer exponent of a fixed base. For example, 12.345 can b ...
while using a fixed-point processor. BFP assigns a group of '' significands'' (the non-exponent part of the floating-point number) to a single exponent, rather than single significand being assigned its own exponent. BFP can be advantageous to limit space use in hardware to perform the same functions as floating-point algorithms, by reusing the exponent; some operations over multiple values between blocks can also be done with a reduced amount of computation. The common exponent is found by data with the largest amplitude in the block. To find the value of the exponent, the number of leading zeros must be found (
count leading zeros In computer software and hardware, find first set (ffs) or find first one is a bit operation that, given an unsigned machine word, designates the index or position of the least significant bit set to one in the word counting from the least signi ...
). For this to be done, the number of left shifts needed for the data must be normalized to the dynamic range of the processor used. Some processors have means to find this out themselves, such as exponent detection and normalization instructions. Block floating-point algorithms were extensively studied by
James Hardy Wilkinson James Hardy Wilkinson FRS (27 September 1919 – 5 October 1986) was a prominent figure in the field of numerical analysis, a field at the boundary of applied mathematics and computer science particularly useful to physics and engineering. Edu ...
. BFP can be recreated in software for smaller performance gains.


See also

*
Binary scaling In computing, fixed-point is a method of representing fractional (non-integer) numbers by storing a fixed number of digits of their fractional part. Dollar amounts, for example, are often stored with exactly two fractional digits, represent ...
* Fast Fourier transform (FFT) * Digital signal processor (DSP)


References


Further reading

* {{cite web , title=FFT/IFFT Block Floating Point Scaling , date=October 2005 , publisher=
Altera Corporation Altera Corporation was a manufacturer of programmable logic devices (PLDs) headquartered in San Jose, California. It was founded in 1983 and acquired by Intel in 2015. The main product lines from Altera were the flagship Stratix series, mid-ran ...
, type=Application note , id=404-1.0 , location=San Jose, CA, USA , url=https://www.altera.com/content/dam/altera-www/global/en_US/pdfs/literature/an/an404.pdf , access-date=2018-07-11 , url-status=live , archive-url=https://web.archive.org/web/20180711174144/https://www.altera.com/content/dam/altera-www/global/en_US/pdfs/literature/an/an404.pdf , archive-date=2018-07-11 Floating point Computer arithmetic