Changeset 1b5c3d60


Ignore:
Timestamp:
Nov 10, 2020, 6:02:50 PM (11 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
arm-eh, jacob/cs343-translation, master, new-ast-unique-expr
Children:
2b18848
Parents:
3ff4c1e
Message:

change uin128 to int128 to make example consistent

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/manipulatorsOutput3.cfa

    r3ff4c1e r1b5c3d60  
    156156        sout | nl;
    157157
    158         ui128 = 0x7fffffffffffffff;
    159         ui128 <<= 64;
    160         ui128 += 0xffffffffffffffff;
    161158        sout | left( wd( 160, i128 ) );
    162159        sout | left( sign( wd( 0, i128 ) ) );
     
    177174        sout | left( wd( 160, bin( i128 ) ) );
    178175        sout | left( sign( wd( 160, i128 ) ) );
    179         sout | left( wd( 160, upcase(hex( i128 )) ) );
    180         sout | left( wd( 160, upcase(oct( i128 ) )) );
    181         sout | left( wd( 160, upcase(bin( i128 )) ) );
     176        sout | left( wd( 160, upcase( hex( i128 ) ) ) );
     177        sout | left( wd( 160, upcase( oct( i128 ) ) ) );
     178        sout | left( wd( 160, upcase( bin( i128 ) ) ) );
    182179
    183180        x = 1234;
     
    316313        }
    317314
    318 
    319315        // int128 constants (and printing)
    320316        int128 v = 0xffff_ffffffff_ffffffff_L128 + 0xffffffff_ffffffff_ffffffff_ffffffff_L128;
Note: See TracChangeset for help on using the changeset viewer.