Changeset 1013 in Sophya for trunk/SophyaLib/TArray/matharr.cc


Ignore:
Timestamp:
May 19, 2000, 9:01:50 AM (25 years ago)
Author:
ansari
Message:

Correction des modifs de Dominique (DY) concernant portage Mac/CW - Reza 19/5/2000

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/TArray/matharr.cc

    r1010 r1013  
    149149  sig = sig/dsz - mean*mean;
    150150//   #if !defined(OS_LINUX) && !defined (__KCC__) 
    151 #if !defined(__GNUG__)
    152         //      le std pour que CW comprenne que sqrt(double) vient de math.h!
     151#if !defined(__GNUG__) && !defined (__MWERKS__)
     152  if (sig >= 0.) sig = sqrt(sig);
     153#else
     154#if defined (__MWERKS__)
     155  //    le std pour que CW comprenne que sqrt(double) vient de math.h!
    153156  if (sig >= 0.) sig = std::sqrt(sig);
    154157#else
     
    156159  // de template !!!!
    157160  if (sig >= 0.) sig = _Sqrt_(sig);
     161#endif
    158162#endif
    159163  return(mean);
Note: See TracChangeset for help on using the changeset viewer.