This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Change definition of complex::norm



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]