/[escript]/trunk/esysUtils/src/maths.h
ViewVC logotype

Diff of /trunk/esysUtils/src/maths.h

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

revision 1322 by ksteube, Thu Sep 27 04:40:43 2007 UTC revision 1361 by gross, Fri Dec 14 09:26:51 2007 UTC
# Line 75  typedef int err_t; Line 75  typedef int err_t;
75  #define MIN(_arg1_,_arg2_) ((_arg1_)>(_arg2_) ?  (_arg2_) : (_arg1_))  #define MIN(_arg1_,_arg2_) ((_arg1_)>(_arg2_) ?  (_arg2_) : (_arg1_))
76  #define MIN3(_arg1_,_arg2_,_arg3_) MIN(_arg1_,MIN(_arg2_,_arg3_))  #define MIN3(_arg1_,_arg2_,_arg3_) MIN(_arg1_,MIN(_arg2_,_arg3_))
77  #define ABS(_arg_) MAX((_arg_),-(_arg_))  #define ABS(_arg_) MAX((_arg_),-(_arg_))
78    #define SIGN(_arg_) ((_arg_)>0 ?  1  : ((_arg_)<0 ? -1 : 0 ))
79  /**************************************************************/  /**************************************************************/
80    
81  /*    memory allocation:                                      */  /*    memory allocation:                                      */

Legend:
Removed from v.1322  
changed lines
  Added in v.1361

  ViewVC Help
Powered by ViewVC 1.1.26