This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Change definition of complex::norm
- To: gcc at gcc dot gnu dot org
- Subject: Re: Change definition of complex::norm
- From: Benjamin Kosnik <bkoz at redhat dot com>
- Date: Wed, 31 Oct 2001 10:41:45 -0800
- Cc: nbecker at fred dot net, HJSTEIN at bloomberg dot com
- Organization: Red Hat/San Francisco
- Reply-To: bkoz at redhat dot com
If there is a problem, let's fix it, and add a test case.
You'll need:
1) ChangeLog entry
2) patch
3) testcase submission, probably to testsuite/26_numerics/complex_value.cc
In particular, please show in C++ code that:
- the current definition is not as useful, since it only works where
sqrt is defined
- the current definition is much less efficient
- the current definition is possibly less accurate
thanks,
benjamin