bindec.S (b05005772f34497eb2b7415a651fe785cbe70e16) | bindec.S (25985edcedea6396277003854657b5f3cb31a628) |
---|---|
1| 2| bindec.sa 3.4 1/3/91 3| 4| bindec 5| 6| Description: 7| Converts an input in extended precision format 8| to bcd format. --- 595 unchanged lines hidden (view full) --- 604 605 606| A13. Check for LEN digits. 607| If the int operation results in more than LEN digits, 608| or less than LEN -1 digits, adjust ILOG and repeat from 609| A6. This test occurs only on the first pass. If the 610| result is exactly 10^LEN, decrement ILOG and divide 611| the mantissa by 10. The calculation of 10^LEN cannot | 1| 2| bindec.sa 3.4 1/3/91 3| 4| bindec 5| 6| Description: 7| Converts an input in extended precision format 8| to bcd format. --- 595 unchanged lines hidden (view full) --- 604 605 606| A13. Check for LEN digits. 607| If the int operation results in more than LEN digits, 608| or less than LEN -1 digits, adjust ILOG and repeat from 609| A6. This test occurs only on the first pass. If the 610| result is exactly 10^LEN, decrement ILOG and divide 611| the mantissa by 10. The calculation of 10^LEN cannot |
612| be inexact, since all powers of ten upto 10^27 are exact | 612| be inexact, since all powers of ten up to 10^27 are exact |
613| in extended precision, so the use of a previous power-of-ten 614| table will introduce no error. 615| 616| 617| Register usage: 618| Input/Output 619| d0: FPCR with size set to ext/scratch final = 0 620| d2: x/x --- 299 unchanged lines hidden --- | 613| in extended precision, so the use of a previous power-of-ten 614| table will introduce no error. 615| 616| 617| Register usage: 618| Input/Output 619| d0: FPCR with size set to ext/scratch final = 0 620| d2: x/x --- 299 unchanged lines hidden --- |