$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: nbecker_at_[hidden]
Date: 2001-11-01 08:34:28
In the current gcc, norm of complex is defined in terms of abs. I
believe the definition should be changed to:
norm(z) = sqr(real(z)) + sqr (imag (z))
My reasons are:
1. More efficient
2. Works for complex<int> (important in DSP)
3. Possibly more accurate
I have started a discussion on gcc_at_[hidden] on this subject. I'm
wondering if any of you have an opinion.