compiler

Unnamed Compiled Systems Language Project
git clone http://frotz.net/git/compiler.git
Log | Files | Refs

1021-numbers.src (672B)


      1 
      2 func start() i32 {
      3 	_hexout_(4294967295); // maxu32
      4 	_hexout_(2147483648); // highbit
      5 	_hexout_(0xffffffff); // maxu32
      6 	_hexout_(0x80000000); // highbit
      7 	_hexout_(0b11111111111111111111111111111111); // maxu32
      8 	_hexout_(0b10000000000000000000000000000000); // highbit
      9         _hexout_(-1);
     10 	_hexout_(-2);
     11 	_hexout_(-2147483648); // minint32
     12 	_hexout_(2147483647); // maxint32
     13 	_hexout_(0b10001000101010101100110001010101);
     14 	_hexout_(2292894805);
     15 	_hexout_(0x88aacc55);
     16 	_hexout_('a'); // char consts
     17 	_hexout_('\t');
     18 	_hexout_('\n');
     19 	_hexout_('\r');
     20 	_hexout_('\\');
     21 	_hexout_('\'');
     22 	_hexout_('"');
     23 	_hexout_('\x42');
     24 	_hexout_('\xFF');
     25 	_hexout_('\x80');
     26 	return 0;
     27 }