NAN assigned to class without error

David Starner dstarner98@aasaa.ofe.org
Sun Jan 17 16:05:00 GMT 1999


In Egcs 1.1.1, on Debian GNU/Linux 2.2 (unstable/potato), running g++
-Wall -W TestHC.cpp produces no error for assigning the NAN to
Hypercomplex.
-- 
David Starner - dstarner98@aasaa.ofe.org
"Repent, Harlequin", said the Ticktock man.
#include "HC.hpp"

using namespace HC;

int main() {
	Hypercomplex A(0, 0, 0, 0), B (1, 1, 1, 1), C;
	C = A * B;
	B = A * C;
	A = B / A;
};


More information about the Gcc-bugs mailing list