Changeset 922 in Sophya for trunk/SophyaLib/TArray
- Timestamp:
- Apr 13, 2000, 7:03:03 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/TArray/tarray.cc
r894 r922 5 5 #include <stdio.h> 6 6 #include <stdlib.h> 7 #include <math.h> 7 8 #include "pexceptions.h" 8 9 #include "tarray.h" … … 198 199 } 199 200 201 inline double _SqrtRz_(double x) { return sqrt(x); } // Pb avec SGI-CC - $CHECK$ - Reza 04/2000 202 200 203 //! Give value (in \b double) for element at position \b ip.. 201 204 template <class T> … … 220 223 double cr = (double)(c.real()); 221 224 double ci = (double)(c.imag()); 222 return( sqrt(cr*cr+ci*ci) );225 return( _SqrtRz_(cr*cr+ci*ci) ); 223 226 } 224 227 … … 235 238 double cr = (double)(c.real()); 236 239 double ci = (double)(c.imag()); 237 return( sqrt(cr*cr+ci*ci) );240 return( _SqrtRz_(cr*cr+ci*ci) ); 238 241 } 239 242
Note:
See TracChangeset
for help on using the changeset viewer.