/[svn]/linuxsampler/trunk/src/common/RTMath.h
ViewVC logotype

Diff of /linuxsampler/trunk/src/common/RTMath.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 685 by persson, Tue Jul 5 19:30:37 2005 UTC revision 737 by schoenebeck, Tue Aug 16 16:50:00 2005 UTC
# Line 266  class __RTMath : public RTMathBase { Line 266  class __RTMath : public RTMathBase {
266          }          }
267    
268          template<class T_a, class T_b> inline static T_a Min(const T_a a, const T_b b) {          template<class T_a, class T_b> inline static T_a Min(const T_a a, const T_b b) {
269                #if __GNUC__
270                return b <? a;
271                #else
272              return (b < a) ? b : a;              return (b < a) ? b : a;
273                #endif
274          }          }
275    
276          inline static float Max(const float a, const float b) {          inline static float Max(const float a, const float b) {
# Line 291  class __RTMath : public RTMathBase { Line 295  class __RTMath : public RTMathBase {
295          }          }
296    
297          template<class T_a, class T_b> inline static T_a Max(const T_a a, const T_b b) {          template<class T_a, class T_b> inline static T_a Max(const T_a a, const T_b b) {
298                #if __GNUC__
299                return b >? a;
300                #else
301              return (b > a) ? b : a;              return (b > a) ? b : a;
302                #endif
303          }          }
304    
305          inline static float Fmodf(const float &a, const float &b) {          inline static float Fmodf(const float &a, const float &b) {

Legend:
Removed from v.685  
changed lines
  Added in v.737

  ViewVC Help
Powered by ViewVC