~ubuntu-branches/debian/experimental/eso-midas/experimental

« back to all changes in this revision

Viewing changes to stdred/feros/incl/u_const.h

  • Committer: Package Import Robot
  • Author(s): Ole Streicher
  • Date: 2015-03-17 15:17:38 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20150317151738-04qxxeqm36oful9i
Tags: 15.02pl1.1-1~exp1
New upstream version

Show diffs side-by-side

added added

removed removed

Lines of Context:
110
110
 
111
111
#define min(X, Y) (((X) < (Y)) ? (X) : (Y))    /* Minimum von X,Y     */
112
112
#define max(X, Y) (((X) > (Y)) ? (X) : (Y))    /* Maximum von X,Y     */
113
 
#define abs(X) (((X) >= 0) ? (X) : -(X))       /* Absolutbetrag von X */
114
113
#define sign(X, Y) (((Y) < 0) ? -abs(X) : abs(X))  /* Vorzeichen von  */
115
114
                                               /* Y mal abs(X)        */
116
115
#define sqr(X) ((X) * (X))                     /* Quadrat von X       */