/*************************************************************************************************************************************/
/*                                                                                                                                   */
/*        M I S E   D ' U N   B L O C   D A N S   U N E   I N S T R U C T I O N  :                                                   */
/*                                                                                                                                   */
/*                                                                                                                                   */
/*        Author of '$xtc/BlocInstructions.03$c' :                                                                                   */
/*                                                                                                                                   */
/*                    Jean-Francois Colonna (LACTAMME, 20190729122559).                                                              */
/*                                                                                                                                   */
/*************************************************************************************************************************************/

#include  "INCLUDES.01.I"

#define   iMAX2(x,y)                                                                                                                    \
                    (                                                                                                                   \
                              {                                                                                                         \
                              int       xtmp=x;                                                                                         \
                              int       ytmp=y;                                                                                         \
                              MAX2(xtmp,ytmp);                                                                                          \
                              }                                                                                                         \
                     )

main()
          {
          int       x=123;
          int       y=456;
          int       z;

          z = iMAX2(x,y);

          printf("max(%d,%d)=%d\n",x,y,z);
          }



Copyright © Jean-François Colonna, 2021-2021.
Copyright © CMAP (Centre de Mathématiques APpliquées) UMR CNRS 7641 / Ecole Polytechnique, 2021-2021.