[ROOT] STL: complex

From: Rolf Dubitzky (dubitzky@pktw16.phy.tu-dresden.de)
Date: Tue Apr 11 2000 - 02:09:26 MEST


Dear rooters,

 I tried to use the template class complex and get senseless output
and errors for abs() and exp() (see below). Why? 
 In case this is just not implemented/working yet, sorry. But if
I do something wrong in using complex, please tell me.

In root 2.23/12 (2.24/02) on Linux/Solaris:

root [0] #include <complex>      
root [1] complex<double> f(1,1)  
root [2] std::abs(f)             
(int)140493392
root [3] std::exp(f)           
Error: exp param[0]=1.40493e+08 up:709 low:-Inf out of range FILE:/tmp/25841eaa_cint LINE:1
*** Interpreter error recovered ***


Cheers,
Rolf



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:23 MET