diff --git a/libs/gamecode/test/test-conv0.c b/libs/gamecode/test/test-conv0.c index e6d6b6ad7..f8b0e7b03 100644 --- a/libs/gamecode/test/test-conv0.c +++ b/libs/gamecode/test/test-conv0.c @@ -39,9 +39,9 @@ static pr_ivec4_t int_conv_expect[] = { { ~0, ~0, ~0, 0}, //bool64 { 0, ~0, 0, 0}, //bool64 { 0, 0, 0, 0}, // int - { 1, -1, 0x80000000, 0x80000000}, // float + { 1, -1, 0x80000000, 0x80000000}, // float undef? { 99, 0x80000000, 256, 0x7fffffff}, // long - { 0x80000000, 0x80000000, 1, -1}, // double + { 0x80000000, 0x80000000, 1, -1}, // double undef? { 0, 0, 0, 0}, // uint { 1, 1, 1, 0}, // bool32 { 99, 0x80000000, 256, 0x7fffffff}, // ulong diff --git a/libs/gamecode/test/test-conv2.c b/libs/gamecode/test/test-conv2.c index 654dd4c90..ee87f7531 100644 --- a/libs/gamecode/test/test-conv2.c +++ b/libs/gamecode/test/test-conv2.c @@ -49,10 +49,10 @@ static pr_ivec4_t long_conv_expect[] = { { 5, 0, -5, 0xffffffff}, // int { 0x80000000, 0xffffffff, 0x7fffffff, 0}, { 1, 0, -1, -1}, // float - { 0, 0x80000000, 0, 0x80000000}, + { 0, 0x80000000, 0, 0x80000000}, // undef? { 0, 0, 0, 0}, // long { 0, 0, 0, 0}, - { 0, 0x80000000, 0, 0x80000000}, // double + { 0, 0x80000000, 0, 0x80000000}, // double undef? { 1, 0, -1, -1}, { 5, 0, -5, 0}, // uint { 0x80000000, 0, 0x7fffffff, 0}, diff --git a/libs/gamecode/test/test-conv4.c b/libs/gamecode/test/test-conv4.c index 4accd2ee8..8fc1ec846 100644 --- a/libs/gamecode/test/test-conv4.c +++ b/libs/gamecode/test/test-conv4.c @@ -39,11 +39,9 @@ static pr_ivec4_t uint_conv_expect[] = { { ~0, ~0, ~0, 0}, //bool64 { 0, ~0, 0, 0}, //bool64 { 0, 0, 0, 0}, // int - // why 0? expected 0xfffffff. vv gcc bug? - { 1, 0xffffffff, 0, 0}, // float + { 1, 0xffffffff, 0, 0}, // float undef? { 99, 0x80000000, 256, 0x7fffffff}, // long - // why 0? vv expected 0xfffffff. gcc bug? - { 0, 0, 1, 0xffffffff}, // double + { 0, 0, 1, 0xffffffff}, // double undef? { 0, 0, 0, 0}, // uint { 1, 1, 1, 0}, // bool32 { 99, 0x80000000, 256, 0x7fffffff}, // ulong diff --git a/libs/gamecode/test/test-conv6.c b/libs/gamecode/test/test-conv6.c index a5d4f7881..3e84eeb03 100644 --- a/libs/gamecode/test/test-conv6.c +++ b/libs/gamecode/test/test-conv6.c @@ -49,10 +49,10 @@ static pr_ivec4_t ulong_conv_expect[] = { { 5, 0, -5, 0xffffffff}, // int { 0x80000000, 0xffffffff, 0x7fffffff, 0}, { 1, 0, -1, -1}, // float - { 0, 0, 0, 0x80000000}, + { 0, 0, 0, 0x80000000}, // undef? { 0, 0, 0, 0}, // long { 0, 0, 0, 0}, - { 0, 0, 0, 0x80000000}, // double + { 0, 0, 0, 0x80000000}, // double undef? { 1, 0, -1, -1}, { 5, 0, -5, 0}, // uint { 0x80000000, 0, 0x7fffffff, 0},