hi all,
i can't imagine this was not under discussion before. but anyhow:
the (legal) code
{
Float_t x[1]={42};
Float_t y=666;
cout <<y **(x+0)<<endl; // evil
}
does not execute in root (2.21.08, linux-glibc).
the expression *(x+0) is evaluated to infty
(an additional pair of par's around it solves the problem).
as c++ does not know ** as pow(), the expression is
unambiguous even without the maximum-much-principle...
cu,
j"org.
__________________________________________________________________________
dr. j. rieling / daimlerChrysler aerospace, orbital systems & operations
fon +49 421 5395643 fax +49 421 5395127 joerg.rieling@ri.dasa.de
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
Charset: noconv
iQCVAwUBN1va0Dj2v2S/jY1FAQGzIAP/a8Un1M7V0OVU7nNs1MS/SCVPFHiVcfqE
gPZ2FwZq4dy61yk6qxUwJalQBzIUT0zu6Zp8Wy0vXJe6jrgdhmDoZ+tIIo2ZqH/I
9Npd+XRO0esSIZtjiN6ipJmSLnBvkhqXm+PD65qGeYzJ2RrSfd1LSZoXxfm4mF30
1gfK1U/THdE=
=CKw0
-----END PGP SIGNATURE-----