Changeset 7c5d8c4


Ignore:
Timestamp:
Apr 15, 2020, 8:28:45 PM (18 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
arm-eh, jacob/cs343-translation, master, new-ast, new-ast-unique-expr
Children:
849f2c6b
Parents:
21923bd
Message:

add 32-bit test output for bitmanip3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/.expect/bitmanip3.x86.txt

    r21923bd r7c5d8c4  
    363363short int
    364364floor(0, 0) = 0, floor(2, 0) = 0, floor(-2, 0) = 0
    365 floor(1 1) = 1, floor(3 1) = 3, floor(-3 1) = -3
    366 floor(2 2) = 2, floor(4 2) = 4, floor(-4 2) = -4
    367 floor(4 4) = 4, floor(6 4) = 4, floor(-6 4) = -8
    368 floor(8 8) = 8, floor(10 8) = 8, floor(-10 8) = -16
    369 floor(16 16) = 16, floor(18 16) = 16, floor(-18 16) = -32
    370 floor(32 32) = 32, floor(34 32) = 32, floor(-34 32) = -64
    371 floor(64 64) = 64, floor(66 64) = 64, floor(-66 64) = -128
    372 floor(128 128) = 128, floor(130 128) = 128, floor(-130 128) = -256
    373 floor(256 256) = 256, floor(258 256) = 256, floor(-258 256) = -512
    374 floor(512 512) = 512, floor(514 512) = 512, floor(-514 512) = -1024
    375 floor(1024 1024) = 1024, floor(1026 1024) = 1024, floor(-1026 1024) = -2048
    376 floor(2048 2048) = 2048, floor(2050 2048) = 2048, floor(-2050 2048) = -4096
    377 floor(4096 4096) = 4096, floor(4098 4096) = 4096, floor(-4098 4096) = -8192
    378 floor(8192 8192) = 8192, floor(8194 8192) = 8192, floor(-8194 8192) = -16384
    379 floor(16384 16384) = 16384, floor(16386 16384) = 16384, floor(-16386 16384) = -32768
    380 floor(-32768 -32768) = -32768, floor(-32766 -32768) = -32768, floor(32766 -32768) = 0
     365floor(1, 1) = 1, floor(3, 1) = 3, floor(-3, 1) = -3
     366floor(2, 2) = 2, floor(4, 2) = 4, floor(-4, 2) = -4
     367floor(4, 4) = 4, floor(6, 4) = 4, floor(-6, 4) = -8
     368floor(8, 8) = 8, floor(10, 8) = 8, floor(-10, 8) = -16
     369floor(16, 16) = 16, floor(18, 16) = 16, floor(-18, 16) = -32
     370floor(32, 32) = 32, floor(34, 32) = 32, floor(-34, 32) = -64
     371floor(64, 64) = 64, floor(66, 64) = 64, floor(-66, 64) = -128
     372floor(128, 128) = 128, floor(130, 128) = 128, floor(-130, 128) = -256
     373floor(256, 256) = 256, floor(258, 256) = 256, floor(-258, 256) = -512
     374floor(512, 512) = 512, floor(514, 512) = 512, floor(-514, 512) = -1024
     375floor(1024, 1024) = 1024, floor(1026, 1024) = 1024, floor(-1026, 1024) = -2048
     376floor(2048, 2048) = 2048, floor(2050, 2048) = 2048, floor(-2050, 2048) = -4096
     377floor(4096, 4096) = 4096, floor(4098, 4096) = 4096, floor(-4098, 4096) = -8192
     378floor(8192, 8192) = 8192, floor(8194, 8192) = 8192, floor(-8194, 8192) = -16384
     379floor(16384, 16384) = 16384, floor(16386, 16384) = 16384, floor(-16386, 16384) = -32768
     380floor(-32768, -32768) = -32768, floor(-32766, -32768) = -32768, floor(32766, -32768) = 0
    381381
    382382unsigned short int
     
    540540
    541541long long int
    542 floor(0 0) = 0, floor(2 0) = 0, floor(-2 0) = 0
    543 floor(1 1) = 1, floor(3 1) = 3, floor(-3 1) = -3
    544 floor(2 2) = 2, floor(4 2) = 4, floor(-4 2) = -4
    545 floor(4 4) = 4, floor(6 4) = 4, floor(-6 4) = -8
    546 floor(8 8) = 8, floor(10 8) = 8, floor(-10 8) = -16
    547 floor(16 16) = 16, floor(18 16) = 16, floor(-18 16) = -32
    548 floor(32 32) = 32, floor(34 32) = 32, floor(-34 32) = -64
    549 floor(64 64) = 64, floor(66 64) = 64, floor(-66 64) = -128
    550 floor(128 128) = 128, floor(130 128) = 128, floor(-130 128) = -256
    551 floor(256 256) = 256, floor(258 256) = 256, floor(-258 256) = -512
    552 floor(512 512) = 512, floor(514 512) = 512, floor(-514 512) = -1024
    553 floor(1024 1024) = 1024, floor(1026 1024) = 1024, floor(-1026 1024) = -2048
    554 floor(2048 2048) = 2048, floor(2050 2048) = 2048, floor(-2050 2048) = -4096
    555 floor(4096 4096) = 4096, floor(4098 4096) = 4096, floor(-4098 4096) = -8192
    556 floor(8192 8192) = 8192, floor(8194 8192) = 8192, floor(-8194 8192) = -16384
    557 floor(16384 16384) = 16384, floor(16386 16384) = 16384, floor(-16386 16384) = -32768
    558 floor(32768 32768) = 32768, floor(32770 32768) = 32768, floor(-32770 32768) = -65536
    559 floor(65536 65536) = 65536, floor(65538 65536) = 65536, floor(-65538 65536) = -131072
    560 floor(131072 131072) = 131072, floor(131074 131072) = 131072, floor(-131074 131072) = -262144
    561 floor(262144 262144) = 262144, floor(262146 262144) = 262144, floor(-262146 262144) = -524288
    562 floor(524288 524288) = 524288, floor(524290 524288) = 524288, floor(-524290 524288) = -1048576
    563 floor(1048576 1048576) = 1048576, floor(1048578 1048576) = 1048576, floor(-1048578 1048576) = -2097152
    564 floor(2097152 2097152) = 2097152, floor(2097154 2097152) = 2097152, floor(-2097154 2097152) = -4194304
    565 floor(4194304 4194304) = 4194304, floor(4194306 4194304) = 4194304, floor(-4194306 4194304) = -8388608
    566 floor(8388608 8388608) = 8388608, floor(8388610 8388608) = 8388608, floor(-8388610 8388608) = -16777216
    567 floor(16777216 16777216) = 16777216, floor(16777218 16777216) = 16777216, floor(-16777218 16777216) = -33554432
    568 floor(33554432 33554432) = 33554432, floor(33554434 33554432) = 33554432, floor(-33554434 33554432) = -67108864
    569 floor(67108864 67108864) = 67108864, floor(67108866 67108864) = 67108864, floor(-67108866 67108864) = -134217728
    570 floor(134217728 134217728) = 134217728, floor(134217730 134217728) = 134217728, floor(-134217730 134217728) = -268435456
    571 floor(268435456 268435456) = 268435456, floor(268435458 268435456) = 268435456, floor(-268435458 268435456) = -536870912
    572 floor(536870912 536870912) = 536870912, floor(536870914 536870912) = 536870912, floor(-536870914 536870912) = -1073741824
    573 floor(1073741824 1073741824) = 1073741824, floor(1073741826 1073741824) = 1073741824, floor(-1073741826 1073741824) = -2147483648
    574 floor(2147483648 2147483648) = 2147483648, floor(2147483650 2147483648) = 2147483648, floor(-2147483650 2147483648) = -4294967296
    575 floor(4294967296 4294967296) = 4294967296, floor(4294967298 4294967296) = 4294967296, floor(-4294967298 4294967296) = -8589934592
    576 floor(8589934592 8589934592) = 8589934592, floor(8589934594 8589934592) = 8589934592, floor(-8589934594 8589934592) = -17179869184
    577 floor(17179869184 17179869184) = 17179869184, floor(17179869186 17179869184) = 17179869184, floor(-17179869186 17179869184) = -34359738368
    578 floor(34359738368 34359738368) = 34359738368, floor(34359738370 34359738368) = 34359738368, floor(-34359738370 34359738368) = -68719476736
    579 floor(68719476736 68719476736) = 68719476736, floor(68719476738 68719476736) = 68719476736, floor(-68719476738 68719476736) = -137438953472
    580 floor(137438953472 137438953472) = 137438953472, floor(137438953474 137438953472) = 137438953472, floor(-137438953474 137438953472) = -274877906944
    581 floor(274877906944 274877906944) = 274877906944, floor(274877906946 274877906944) = 274877906944, floor(-274877906946 274877906944) = -549755813888
    582 floor(549755813888 549755813888) = 549755813888, floor(549755813890 549755813888) = 549755813888, floor(-549755813890 549755813888) = -1099511627776
    583 floor(1099511627776 1099511627776) = 1099511627776, floor(1099511627778 1099511627776) = 1099511627776, floor(-1099511627778 1099511627776) = -2199023255552
    584 floor(2199023255552 2199023255552) = 2199023255552, floor(2199023255554 2199023255552) = 2199023255552, floor(-2199023255554 2199023255552) = -4398046511104
    585 floor(4398046511104 4398046511104) = 4398046511104, floor(4398046511106 4398046511104) = 4398046511104, floor(-4398046511106 4398046511104) = -8796093022208
    586 floor(8796093022208 8796093022208) = 8796093022208, floor(8796093022210 8796093022208) = 8796093022208, floor(-8796093022210 8796093022208) = -17592186044416
    587 floor(17592186044416 17592186044416) = 17592186044416, floor(17592186044418 17592186044416) = 17592186044416, floor(-17592186044418 17592186044416) = -35184372088832
    588 floor(35184372088832 35184372088832) = 35184372088832, floor(35184372088834 35184372088832) = 35184372088832, floor(-35184372088834 35184372088832) = -70368744177664
    589 floor(70368744177664 70368744177664) = 70368744177664, floor(70368744177666 70368744177664) = 70368744177664, floor(-70368744177666 70368744177664) = -140737488355328
    590 floor(140737488355328 140737488355328) = 140737488355328, floor(140737488355330 140737488355328) = 140737488355328, floor(-140737488355330 140737488355328) = -281474976710656
    591 floor(281474976710656 281474976710656) = 281474976710656, floor(281474976710658 281474976710656) = 281474976710656, floor(-281474976710658 281474976710656) = -562949953421312
    592 floor(562949953421312 562949953421312) = 562949953421312, floor(562949953421314 562949953421312) = 562949953421312, floor(-562949953421314 562949953421312) = -1125899906842624
    593 floor(1125899906842624 1125899906842624) = 1125899906842624, floor(1125899906842626 1125899906842624) = 1125899906842624, floor(-1125899906842626 1125899906842624) = -2251799813685248
    594 floor(2251799813685248 2251799813685248) = 2251799813685248, floor(2251799813685250 2251799813685248) = 2251799813685248, floor(-2251799813685250 2251799813685248) = -4503599627370496
    595 floor(4503599627370496 4503599627370496) = 4503599627370496, floor(4503599627370498 4503599627370496) = 4503599627370496, floor(-4503599627370498 4503599627370496) = -9007199254740992
    596 floor(9007199254740992 9007199254740992) = 9007199254740992, floor(9007199254740994 9007199254740992) = 9007199254740992, floor(-9007199254740994 9007199254740992) = -18014398509481984
    597 floor(18014398509481984 18014398509481984) = 18014398509481984, floor(18014398509481986 18014398509481984) = 18014398509481984, floor(-18014398509481986 18014398509481984) = -36028797018963968
    598 floor(36028797018963968 36028797018963968) = 36028797018963968, floor(36028797018963970 36028797018963968) = 36028797018963968, floor(-36028797018963970 36028797018963968) = -72057594037927936
    599 floor(72057594037927936 72057594037927936) = 72057594037927936, floor(72057594037927938 72057594037927936) = 72057594037927936, floor(-72057594037927938 72057594037927936) = -144115188075855872
    600 floor(144115188075855872 144115188075855872) = 144115188075855872, floor(144115188075855874 144115188075855872) = 144115188075855872, floor(-144115188075855874 144115188075855872) = -288230376151711744
    601 floor(288230376151711744 288230376151711744) = 288230376151711744, floor(288230376151711746 288230376151711744) = 288230376151711744, floor(-288230376151711746 288230376151711744) = -576460752303423488
    602 floor(576460752303423488 576460752303423488) = 576460752303423488, floor(576460752303423490 576460752303423488) = 576460752303423488, floor(-576460752303423490 576460752303423488) = -1152921504606846976
    603 floor(1152921504606846976 1152921504606846976) = 1152921504606846976, floor(1152921504606846978 1152921504606846976) = 1152921504606846976, floor(-1152921504606846978 1152921504606846976) = -2305843009213693952
    604 floor(2305843009213693952 2305843009213693952) = 2305843009213693952, floor(2305843009213693954 2305843009213693952) = 2305843009213693952, floor(-2305843009213693954 2305843009213693952) = -4611686018427387904
    605 floor(4611686018427387904 4611686018427387904) = 4611686018427387904, floor(4611686018427387906 4611686018427387904) = 4611686018427387904, floor(-4611686018427387906 4611686018427387904) = -9223372036854775808
    606 floor(-9223372036854775808 -9223372036854775808) = -9223372036854775808, floor(-9223372036854775806 -9223372036854775808) = -9223372036854775808, floor(9223372036854775806 -9223372036854775808) = 0
     542floor(0, 0) = 0, floor(2, 0) = 0, floor(-2, 0) = 0
     543floor(1, 1) = 1, floor(3, 1) = 3, floor(-3, 1) = -3
     544floor(2, 2) = 2, floor(4, 2) = 4, floor(-4, 2) = -4
     545floor(4, 4) = 4, floor(6, 4) = 4, floor(-6, 4) = -8
     546floor(8, 8) = 8, floor(10, 8) = 8, floor(-10, 8) = -16
     547floor(16, 16) = 16, floor(18, 16) = 16, floor(-18, 16) = -32
     548floor(32, 32) = 32, floor(34, 32) = 32, floor(-34, 32) = -64
     549floor(64, 64) = 64, floor(66, 64) = 64, floor(-66, 64) = -128
     550floor(128, 128) = 128, floor(130, 128) = 128, floor(-130, 128) = -256
     551floor(256, 256) = 256, floor(258, 256) = 256, floor(-258, 256) = -512
     552floor(512, 512) = 512, floor(514, 512) = 512, floor(-514, 512) = -1024
     553floor(1024, 1024) = 1024, floor(1026, 1024) = 1024, floor(-1026, 1024) = -2048
     554floor(2048, 2048) = 2048, floor(2050, 2048) = 2048, floor(-2050, 2048) = -4096
     555floor(4096, 4096) = 4096, floor(4098, 4096) = 4096, floor(-4098, 4096) = -8192
     556floor(8192, 8192) = 8192, floor(8194, 8192) = 8192, floor(-8194, 8192) = -16384
     557floor(16384, 16384) = 16384, floor(16386, 16384) = 16384, floor(-16386, 16384) = -32768
     558floor(32768, 32768) = 32768, floor(32770, 32768) = 32768, floor(-32770, 32768) = -65536
     559floor(65536, 65536) = 65536, floor(65538, 65536) = 65536, floor(-65538, 65536) = -131072
     560floor(131072, 131072) = 131072, floor(131074, 131072) = 131072, floor(-131074, 131072) = -262144
     561floor(262144, 262144) = 262144, floor(262146, 262144) = 262144, floor(-262146, 262144) = -524288
     562floor(524288, 524288) = 524288, floor(524290, 524288) = 524288, floor(-524290, 524288) = -1048576
     563floor(1048576, 1048576) = 1048576, floor(1048578, 1048576) = 1048576, floor(-1048578, 1048576) = -2097152
     564floor(2097152, 2097152) = 2097152, floor(2097154, 2097152) = 2097152, floor(-2097154, 2097152) = -4194304
     565floor(4194304, 4194304) = 4194304, floor(4194306, 4194304) = 4194304, floor(-4194306, 4194304) = -8388608
     566floor(8388608, 8388608) = 8388608, floor(8388610, 8388608) = 8388608, floor(-8388610, 8388608) = -16777216
     567floor(16777216, 16777216) = 16777216, floor(16777218, 16777216) = 16777216, floor(-16777218, 16777216) = -33554432
     568floor(33554432, 33554432) = 33554432, floor(33554434, 33554432) = 33554432, floor(-33554434, 33554432) = -67108864
     569floor(67108864, 67108864) = 67108864, floor(67108866, 67108864) = 67108864, floor(-67108866, 67108864) = -134217728
     570floor(134217728, 134217728) = 134217728, floor(134217730, 134217728) = 134217728, floor(-134217730, 134217728) = -268435456
     571floor(268435456, 268435456) = 268435456, floor(268435458, 268435456) = 268435456, floor(-268435458, 268435456) = -536870912
     572floor(536870912, 536870912) = 536870912, floor(536870914, 536870912) = 536870912, floor(-536870914, 536870912) = -1073741824
     573floor(1073741824, 1073741824) = 1073741824, floor(1073741826, 1073741824) = 1073741824, floor(-1073741826, 1073741824) = -2147483648
     574floor(2147483648, 2147483648) = 2147483648, floor(2147483650, 2147483648) = 2147483648, floor(-2147483650, 2147483648) = -4294967296
     575floor(4294967296, 4294967296) = 4294967296, floor(4294967298, 4294967296) = 4294967296, floor(-4294967298, 4294967296) = -8589934592
     576floor(8589934592, 8589934592) = 8589934592, floor(8589934594, 8589934592) = 8589934592, floor(-8589934594, 8589934592) = -17179869184
     577floor(17179869184, 17179869184) = 17179869184, floor(17179869186, 17179869184) = 17179869184, floor(-17179869186, 17179869184) = -34359738368
     578floor(34359738368, 34359738368) = 34359738368, floor(34359738370, 34359738368) = 34359738368, floor(-34359738370, 34359738368) = -68719476736
     579floor(68719476736, 68719476736) = 68719476736, floor(68719476738, 68719476736) = 68719476736, floor(-68719476738, 68719476736) = -137438953472
     580floor(137438953472, 137438953472) = 137438953472, floor(137438953474, 137438953472) = 137438953472, floor(-137438953474, 137438953472) = -274877906944
     581floor(274877906944, 274877906944) = 274877906944, floor(274877906946, 274877906944) = 274877906944, floor(-274877906946, 274877906944) = -549755813888
     582floor(549755813888, 549755813888) = 549755813888, floor(549755813890, 549755813888) = 549755813888, floor(-549755813890, 549755813888) = -1099511627776
     583floor(1099511627776, 1099511627776) = 1099511627776, floor(1099511627778, 1099511627776) = 1099511627776, floor(-1099511627778, 1099511627776) = -2199023255552
     584floor(2199023255552, 2199023255552) = 2199023255552, floor(2199023255554, 2199023255552) = 2199023255552, floor(-2199023255554, 2199023255552) = -4398046511104
     585floor(4398046511104, 4398046511104) = 4398046511104, floor(4398046511106, 4398046511104) = 4398046511104, floor(-4398046511106, 4398046511104) = -8796093022208
     586floor(8796093022208, 8796093022208) = 8796093022208, floor(8796093022210, 8796093022208) = 8796093022208, floor(-8796093022210, 8796093022208) = -17592186044416
     587floor(17592186044416, 17592186044416) = 17592186044416, floor(17592186044418, 17592186044416) = 17592186044416, floor(-17592186044418, 17592186044416) = -35184372088832
     588floor(35184372088832, 35184372088832) = 35184372088832, floor(35184372088834, 35184372088832) = 35184372088832, floor(-35184372088834, 35184372088832) = -70368744177664
     589floor(70368744177664, 70368744177664) = 70368744177664, floor(70368744177666, 70368744177664) = 70368744177664, floor(-70368744177666, 70368744177664) = -140737488355328
     590floor(140737488355328, 140737488355328) = 140737488355328, floor(140737488355330, 140737488355328) = 140737488355328, floor(-140737488355330, 140737488355328) = -281474976710656
     591floor(281474976710656, 281474976710656) = 281474976710656, floor(281474976710658, 281474976710656) = 281474976710656, floor(-281474976710658, 281474976710656) = -562949953421312
     592floor(562949953421312, 562949953421312) = 562949953421312, floor(562949953421314, 562949953421312) = 562949953421312, floor(-562949953421314, 562949953421312) = -1125899906842624
     593floor(1125899906842624, 1125899906842624) = 1125899906842624, floor(1125899906842626, 1125899906842624) = 1125899906842624, floor(-1125899906842626, 1125899906842624) = -2251799813685248
     594floor(2251799813685248, 2251799813685248) = 2251799813685248, floor(2251799813685250, 2251799813685248) = 2251799813685248, floor(-2251799813685250, 2251799813685248) = -4503599627370496
     595floor(4503599627370496, 4503599627370496) = 4503599627370496, floor(4503599627370498, 4503599627370496) = 4503599627370496, floor(-4503599627370498, 4503599627370496) = -9007199254740992
     596floor(9007199254740992, 9007199254740992) = 9007199254740992, floor(9007199254740994, 9007199254740992) = 9007199254740992, floor(-9007199254740994, 9007199254740992) = -18014398509481984
     597floor(18014398509481984, 18014398509481984) = 18014398509481984, floor(18014398509481986, 18014398509481984) = 18014398509481984, floor(-18014398509481986, 18014398509481984) = -36028797018963968
     598floor(36028797018963968, 36028797018963968) = 36028797018963968, floor(36028797018963970, 36028797018963968) = 36028797018963968, floor(-36028797018963970, 36028797018963968) = -72057594037927936
     599floor(72057594037927936, 72057594037927936) = 72057594037927936, floor(72057594037927938, 72057594037927936) = 72057594037927936, floor(-72057594037927938, 72057594037927936) = -144115188075855872
     600floor(144115188075855872, 144115188075855872) = 144115188075855872, floor(144115188075855874, 144115188075855872) = 144115188075855872, floor(-144115188075855874, 144115188075855872) = -288230376151711744
     601floor(288230376151711744, 288230376151711744) = 288230376151711744, floor(288230376151711746, 288230376151711744) = 288230376151711744, floor(-288230376151711746, 288230376151711744) = -576460752303423488
     602floor(576460752303423488, 576460752303423488) = 576460752303423488, floor(576460752303423490, 576460752303423488) = 576460752303423488, floor(-576460752303423490, 576460752303423488) = -1152921504606846976
     603floor(1152921504606846976, 1152921504606846976) = 1152921504606846976, floor(1152921504606846978, 1152921504606846976) = 1152921504606846976, floor(-1152921504606846978, 1152921504606846976) = -2305843009213693952
     604floor(2305843009213693952, 2305843009213693952) = 2305843009213693952, floor(2305843009213693954, 2305843009213693952) = 2305843009213693952, floor(-2305843009213693954, 2305843009213693952) = -4611686018427387904
     605floor(4611686018427387904, 4611686018427387904) = 4611686018427387904, floor(4611686018427387906, 4611686018427387904) = 4611686018427387904, floor(-4611686018427387906, 4611686018427387904) = -9223372036854775808
     606floor(-9223372036854775808, -9223372036854775808) = -9223372036854775808, floor(-9223372036854775806, -9223372036854775808) = -9223372036854775808, floor(9223372036854775806, -9223372036854775808) = 0
    607607
    608608unsigned long long int
     
    697697
    698698short int
    699 floor(1, 1) = 1, floor(3, 1) = 3, floor(-3, 1) = 65533
    700 floor(2, 2) = 2, floor(4, 2) = 4, floor(-4, 2) = 65532
    701 floor(4, 4) = 4, floor(6, 4) = 4, floor(-6, 4) = 65532
    702 floor(8, 8) = 8, floor(10, 8) = 8, floor(-10, 8) = 65528
    703 floor(16, 16) = 16, floor(18, 16) = 16, floor(-18, 16) = 65520
    704 floor(32, 32) = 32, floor(34, 32) = 32, floor(-34, 32) = 65504
    705 floor(64, 64) = 64, floor(66, 64) = 64, floor(-66, 64) = 65472
    706 floor(128, 128) = 128, floor(130, 128) = 128, floor(-130, 128) = 65408
    707 floor(256, 256) = 256, floor(258, 256) = 256, floor(-258, 256) = 65280
    708 floor(512, 512) = 512, floor(514, 512) = 512, floor(-514, 512) = 65024
    709 floor(1024, 1024) = 1024, floor(1026, 1024) = 1024, floor(-1026, 1024) = 64512
    710 floor(2048, 2048) = 2048, floor(2050, 2048) = 2048, floor(-2050, 2048) = 63488
    711 floor(4096, 4096) = 4096, floor(4098, 4096) = 4096, floor(-4098, 4096) = 61440
    712 floor(8192, 8192) = 8192, floor(8194, 8192) = 8192, floor(-8194, 8192) = 57344
    713 floor(16384, 16384) = 16384, floor(16386, 16384) = 16384, floor(-16386, 16384) = 49152
    714 floor(-32768, -32768) = 32768, floor(-32766, -32768) = 0, floor(32766, -32768) = 0
     699floor(1, 1) = 1, floor(3, 1) = 3, floor(-3, 1) = -3
     700floor(2, 2) = 2, floor(4, 2) = 4, floor(-4, 2) = -4
     701floor(4, 4) = 4, floor(6, 4) = 4, floor(-6, 4) = -4
     702floor(8, 8) = 8, floor(10, 8) = 8, floor(-10, 8) = -8
     703floor(16, 16) = 16, floor(18, 16) = 16, floor(-18, 16) = -16
     704floor(32, 32) = 32, floor(34, 32) = 32, floor(-34, 32) = -32
     705floor(64, 64) = 64, floor(66, 64) = 64, floor(-66, 64) = -64
     706floor(128, 128) = 128, floor(130, 128) = 128, floor(-130, 128) = -128
     707floor(256, 256) = 256, floor(258, 256) = 256, floor(-258, 256) = -256
     708floor(512, 512) = 512, floor(514, 512) = 512, floor(-514, 512) = -512
     709floor(1024, 1024) = 1024, floor(1026, 1024) = 1024, floor(-1026, 1024) = -1024
     710floor(2048, 2048) = 2048, floor(2050, 2048) = 2048, floor(-2050, 2048) = -2048
     711floor(4096, 4096) = 4096, floor(4098, 4096) = 4096, floor(-4098, 4096) = -4096
     712floor(8192, 8192) = 8192, floor(8194, 8192) = 8192, floor(-8194, 8192) = -8192
     713floor(16384, 16384) = 16384, floor(16386, 16384) = 16384, floor(-16386, 16384) = -16384
     714floor(-32768, -32768) = -32768, floor(-32766, -32768) = 0, floor(32766, -32768) = 0
    715715
    716716unsigned short int
     
    13471347ceiling(16, 16) = 1, ceiling(18, 16) = 2, ceiling(-18, 16) = 0
    13481348ceiling(32, 32) = 1, ceiling(34, 32) = 2, ceiling(-34, 32) = 0
    1349 ceiling(64, 64) = 1, ceiling(66, 64) = -1, ceiling(-66, 64) = 0
    1350 ceiling(-128, -128) = 0, ceiling(-126, -128) = 0, ceiling(126, -128) = 0
     1349ceiling(64, 64) = 1, ceiling(66, 64) = 2, ceiling(-66, 64) = 0
     1350ceiling(-128, -128) = 2, ceiling(-126, -128) = 1, ceiling(126, -128) = 0
    13511351
    13521352unsigned char
     
    13581358ceiling(32, 32) = 1, ceiling(34, 32) = 2, ceiling(222, 32) = 7
    13591359ceiling(64, 64) = 1, ceiling(66, 64) = 2, ceiling(190, 64) = 3
    1360 ceiling(128, 128) = 1, ceiling(130, 128) = 0, ceiling(126, 128) = 1
     1360ceiling(128, 128) = 1, ceiling(130, 128) = 2, ceiling(126, 128) = 1
    13611361
    13621362short int
    1363 ceiling(1, 1) = 1, ceiling(3, 1) = 3, ceiling(-3, 1) = 65533
    1364 ceiling(2, 2) = 1, ceiling(4, 2) = 2, ceiling(-4, 2) = 65535
     1363ceiling(1, 1) = 1, ceiling(3, 1) = 3, ceiling(-3, 1) = -3
     1364ceiling(2, 2) = 1, ceiling(4, 2) = 2, ceiling(-4, 2) = -1
    13651365ceiling(4, 4) = 1, ceiling(6, 4) = 2, ceiling(-6, 4) = 0
    13661366ceiling(8, 8) = 1, ceiling(10, 8) = 2, ceiling(-10, 8) = 0
     
    13751375ceiling(4096, 4096) = 1, ceiling(4098, 4096) = 2, ceiling(-4098, 4096) = 0
    13761376ceiling(8192, 8192) = 1, ceiling(8194, 8192) = 2, ceiling(-8194, 8192) = 0
    1377 ceiling(16384, 16384) = 1, ceiling(16386, 16384) = 65535, ceiling(-16386, 16384) = 0
    1378 ceiling(-32768, -32768) = 0, ceiling(-32766, -32768) = 0, ceiling(32766, -32768) = 0
     1377ceiling(16384, 16384) = 1, ceiling(16386, 16384) = 2, ceiling(-16386, 16384) = 0
     1378ceiling(-32768, -32768) = 2, ceiling(-32766, -32768) = 1, ceiling(32766, -32768) = 0
    13791379
    13801380unsigned short int
     
    13941394ceiling(8192, 8192) = 1, ceiling(8194, 8192) = 2, ceiling(57342, 8192) = 7
    13951395ceiling(16384, 16384) = 1, ceiling(16386, 16384) = 2, ceiling(49150, 16384) = 3
    1396 ceiling(32768, 32768) = 1, ceiling(32770, 32768) = 0, ceiling(32766, 32768) = 1
     1396ceiling(32768, 32768) = 1, ceiling(32770, 32768) = 2, ceiling(32766, 32768) = 1
    13971397
    13981398int
Note: See TracChangeset for help on using the changeset viewer.