www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - incorrect compare implementation in ti_Aulong and ti_Along

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

int main(){
	ulong[] a;
	ulong[] b;

	a.length = 1;
	b.length = 1;

	a[0] = 0x0000_0001_0000_00000;
	b[0] = 0x0000_0000_0000_00000;

	TypeInfo ti = typeid(typeof(a));

	assert(ti.compare(a,b)>0);

	return 0;
}

Thomas
-----BEGIN PGP SIGNATURE-----

iD8DBQFDOlDZ3w+/yD4P9tIRAn6LAKC7lo6cy2HG6mjuQJxFPBu1nhPoNACfZASN
fDcwWpLeEom7/7K1BS0p+Xw=
=uE34
-----END PGP SIGNATURE-----
Sep 28 2005