Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/manipulatorsOutput3.cfa

    r40b5417 r9edf835  
    11#include <fstream.hfa>
    22int main() {
    3     int128 x = 0xffff;
    4     x <<= 64;;
     3    int128 x = 0xffff, y = 0x2;
     4    x <<= 64;
    55    x += 0xffff;
     6    y <<= 64;
     7    y += 0123;
     8    y |= 0x8000000000000000;
    69    x = -x;
    710    sout | x;
     
    3235    sout | left(wd( 45, oct(0123) )) | 'X';
    3336    sout | left(wd( 45, oct(x) )) | 'X';
     37    sout | left(wd( 45, oct(y) )) | 'X';
    3438    sout | left(wd( 45,40, oct(0123) )) | 'X';
    3539    sout | left(wd( 45,40, oct(x) )) | 'X';
     40    sout | left(wd( 45,40, oct(y) )) | 'X';
    3641    sout | left(wd( 40,45, oct(0123) )) | 'X';
    3742    sout | left(wd( 40,45, oct(x) )) | 'X';
     43    sout | left(wd( 40,45, oct(y) )) | 'X';
    3844    printf( "%#-1.10oX\n", 0123 );
    3945    sout | left(wd( 1,10, oct(0123) )) | 'X';
     
    4147    sout | left(wd( 40,10, oct(0123) )) | 'X';
    4248    sout | left(wd( 40,10, oct(x) )) | 'X';
     49    sout | left(wd( 40,10, oct(y) )) | 'X';
    4350    sout | left(wd( 10,40, oct(0123) )) | 'X';
    4451    sout | left(wd( 10,40, oct(x) )) | 'X';
     52    sout | left(wd( 10,40, oct(y) )) | 'X';
    4553
    46     int128 y = 123456789;
     54    y = 123456789;
    4755    sout | left(wd( 45, 49, oct(y) )) | 'X';
    4856    sout | nl;
Note: See TracChangeset for help on using the changeset viewer.