maximum and minimum macros for ScalES-PPM, adapted from genometools
More...
|
#define | MAX(a, b) |
|
#define | MIN(a, b) |
|
#define | MIN3(a, b, c) |
|
maximum and minimum macros for ScalES-PPM, adapted from genometools
- Copyright
- Copyright (C) 2012 Thomas Jahns jahns.nosp@m.@dkr.nosp@m.z.de
- Version
- 1.0
- Author
- Thomas Jahns jahns.nosp@m.@dkr.nosp@m.z.de
◆ MAX
Value: ({ __typeof (a) _a = (a); \
__typeof (b) _b = (b); \
_a > _b ? _a : _b; })
◆ MIN
Value: ({ __typeof (a) _a = (a); \
__typeof (b) _b = (b); \
_a <= _b ? _a : _b; })
◆ MIN3
Value: ({ __typeof(a) _a = (a); \
__typeof(b) _b = (b); \
__typeof(c) _c = (c); \
(((_a)<(_b))?((_a)<(_c)?(_a):(_c)):((_b)<(_c)?(_b):(_c)));})
Das diesem Bericht zugrundeliegende Vorhaben wurde mit Mitteln des Bundesministeriums für Bildung, und Forschung unter dem Förderkennzeichen 01IH08004E gefördert. Die Verantwortung für den Inhalt dieser Veröffentlichung liegt beim Autor.