Changeset 0a2e1c05
- Timestamp:
- Apr 25, 2020, 6:08:26 PM (5 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- dab31d0
- Parents:
- 37e5640
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/iostream.cfa
r37e5640 r0a2e1c05 10 10 // Created On : Wed May 27 17:56:53 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Sat Apr 25 09:54:49202013 // Update Count : 9 6212 // Last Modified On : Sat Apr 25 17:24:26 2020 13 // Update Count : 974 14 14 // 15 15 … … 594 594 } else if ( f.base == 'o' ) { \ 595 595 if ( fmt.flags.pc && fmt.pc > 22 ) fmt.pc -= 22; else { fmt.flags.pc = false; fmt.pc = 0; } \ 596 fmt.val = (unsigned long long int)fmt.val >> 2; \ 597 fmt2.val = ((msig & 0x3) << 1) + ((lsig & 0x8000000000000000U) != 0); \ 596 598 if ( fmt.flags.left ) { \ 597 599 fmt.flags.left = false; \ 598 fmt.wd = 1; \ 599 fmt.val = (unsigned long long int)fmt.val >> 2; \ 600 fmt2.wd = 1; \ 601 fmt2.val = ((msig & 0x3) << 1) + ((lsig & 0x8000000000000000U) != 0); \ 600 fmt.wd = 0; \ 602 601 if ( fmt2.val > 1 && fmt.flags.pc && fmt.pc > 0 ) fmt.pc -= 1; \ 603 602 /* printf( "L %llo %llo %llo %llo %d %d '%c' %x\n", msig, lsig, fmt.val, fmt2.val, fmt.wd, fmt.pc, fmt.base, fmt.all ); */ \ … … 607 606 int msigd = ceiling( high1( fmt.val ), 3 ) + 1; \ 608 607 fmt2.wd = f.wd - (fmt.pc > msigd ? fmt.pc : msigd) - 1; \ 609 /* printf( "\nL2 %llo %d %d '%c' %x\n", fmt2.val, fmt2.wd, fmt2.pc, fmt2.base, fmt2.all ); */ \610 608 if ( fmt2.wd < 0 ) fmt2.wd = 21; \ 611 fmt2.flags.pc = true; fmt2.pc = 21; \ 612 if ( ! fmt.flags.nobsdp ) { if ( fmt.pc < fmt.wd ) fmt.wd -= 1; else fmt.pc -= 1; } \ 613 fmt2.val = lsig & 0x7fffffffffffffffU; \ 614 (ostype &)(os | fmt2); \ 609 if ( ! fmt.flags.nobsdp && fmt.pc < fmt.wd ) fmt.wd -= 1; \ 615 610 } else { \ 616 fmt.val = (unsigned long long int)fmt.val >> 2; \617 611 if ( fmt.wd > 21 ) fmt.wd -= 21; \ 618 if ( ! fmt.flags.nobsdp ) { if ( fmt.pc < fmt.wd ) fmt.wd -= 1; else fmt.pc -= 1; }\612 if ( ! fmt.flags.nobsdp && fmt.pc < fmt.wd ) fmt.wd -= 1; \ 619 613 fmt2.wd = 1; \ 620 fmt2.val = ((msig & 0x3) << 1) + ((lsig & 0x8000000000000000U) != 0);\614 /* printf( "R %llo %llo %llo %llo %d %d '%c' %x\n", msig, lsig, fmt.val, fmt2.val, fmt.wd, fmt.pc, fmt.base, fmt.all ); */ \ 621 615 (ostype &)(os | fmt | "" | fmt2); \ 622 616 sepOff( os ); \ 623 617 fmt2.wd = 21; \ 624 fmt2.val = lsig & 0x7fffffffffffffffU; \625 (ostype &)(os | fmt2); \626 618 } /* if */ \ 619 fmt2.val = lsig & 0x7fffffffffffffffU; \ 620 /* printf( "\nC %llo %d %d '%c' %x\n", fmt2.val, fmt2.wd, fmt2.pc, fmt2.base, fmt2.all ); */ \ 621 (ostype &)(os | fmt2); \ 627 622 } else { \ 628 623 if ( fmt.flags.pc && fmt.pc > 16 ) fmt.pc -= 16; \
Note: See TracChangeset
for help on using the changeset viewer.