NAN assigned to class without error

Alexandre Oliva
Mon Jan 18 01:46:00 GMT 1999

On Jan 17, 1999, David Starner <> wrote:

> 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.

Why should it?  There's a constructor that takes a single double
argument: Hypercomplex(double A, double =0, double =0, double =0)

Or do you mean some NAN other than the one returned from Invert?

Alexandre Oliva  aoliva@{}
Universidade Estadual de Campinas, SP, Brasil

More information about the Gcc-bugs mailing list