User Tools

Site Tools


pdclib:floatingpoint

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
pdclib:floatingpoint [2019/10/18 14:40]
solar [Fixed Point Fraction Output]
pdclib:floatingpoint [2019/10/21 10:13] (current)
solar [Floating-Point Printout]
Line 227: Line 227:
 Algorithm (Dragon2): Algorithm (Dragon2):
  
-   * Compute <m>v prime = v * B ^ {-x}</m>, where <m>x</m> is chosen so that the result either is between 1 / //B// and 1, or between 1 and //B//+   * Compute <m>v prime = v * B ^ {-x}</m>, where <m>x</m> is chosen so that the result either is between 1 / //B// and 1, or between 1 and //B// (normalization, either with leading zero or leading non-zero digit)
    * Print the integer part of <m>v prime</m>    * Print the integer part of <m>v prime</m>
    * Print a decimal point    * Print a decimal point
pdclib/floatingpoint.1571402428.txt.gz ยท Last modified: 2019/10/18 14:40 by solar