Changeset c4e3c28b for libcfa/src


Ignore:
Timestamp:
Apr 24, 2020, 4:21:43 PM (4 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
37e5640
Parents:
13099a8b
Message:

more work on manipulators for int128 numbers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/iostream.cfa

    r13099a8b rc4e3c28b  
    1010// Created On       : Wed May 27 17:56:53 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Fri Apr 24 11:48:53 2020
    13 // Update Count     : 954
     12// Last Modified On : Fri Apr 24 13:51:36 2020
     13// Update Count     : 956
    1414//
    1515
     
    593593                                        (ostype &)(os | fmt | "" | fmt2); \
    594594                                } else if ( f.base == 'o' ) { \
    595                                         if ( fmt.flags.pc && fmt.pc > 22 ) fmt.pc -= 22; \
     595                                        if ( fmt.flags.pc && fmt.pc > 22 ) fmt.pc -= 22; else fmt.flags.pc = false; \
    596596                                        if ( fmt.flags.left ) { \
    597597                                                fmt.flags.left = false; \
     
    617617                                                if ( ! fmt.flags.nobsdp ) { if ( fmt.pc < fmt.wd ) fmt.wd -= 1; else fmt.pc -= 1; } \
    618618                                                fmt2.wd = 1; \
    619                                                 fmt2.val = ((msig & 0x3) << 1) + (lsig & 0x8000000000000000U != 0); \
     619                                                fmt2.val = ((msig & 0x3) << 1) + ((lsig & 0x8000000000000000U) != 0); \
    620620                                                (ostype &)(os | fmt | "" | fmt2); \
    621621                                                sepOff( os ); \
Note: See TracChangeset for help on using the changeset viewer.