This shows you the differences between two versions of the page.
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}</ | + | * Compute <m>v prime = v * B ^ {-x}</ |
* Print the integer part of <m>v prime</ | * Print the integer part of <m>v prime</ | ||
* Print a decimal point | * Print a decimal point |