Generalised floating point addition: Difference between revisions

m
m (→‎any base: added boxed comment about allowing the numbers to be in any base (radix). -- ~~~~)
Line 589:
│ is optional. An exponent is also allowed which is preceded by a ^. │
│ The value of the exponent may have a leading sign (+ or -). │
│ Each numeral (digit) is stored as it'sits own character (gylph), as well
│ as the signs and exponent indicator. There is essentially no limit on │
│ the number of digits in the mantissa or the exponent, but the value of │
Line 597:
│ Method: a table of twenty-eight BCD numbers is built, and a test case │
│ of adding that BCD number 81 tinmes (essentially multiplying by 81), │
│ and then a number is added to that sum, and the resulantresultant sum should
│ result in the final sum of 1e72 (for all cases). │
│ │
Line 714:
│ is optional. An exponent is also allowed which is preceded by a ^. │
│ The value of the exponent may have a leading sign (+ or -). │
│ Each numeral (digit) is stored as it'sits own character (gylph), as well
│ as the signs and exponent indicator. There is essentially no limit on │
│ the number of digits in the mantissa or the exponent, but the value of │
Line 722:
│ Method: a table of twenty-eight BCD numbers is built, and a test case │
│ of adding that BCD number 81 tinmes (essentially multiplying by 81), │
│ and then a number is added to that sum, and the resulantresultant sum should
│ result in the final sum of 1e72 (for all cases). │
│ │
2,295

edits