2
* \file mei_math_util.c
4
* \brief Provides mathemathical functions facilities
8
This file is part of Code_Saturne, a general-purpose CFD tool.
10
Copyright (C) 1998-2011 EDF S.A.
12
This program is free software; you can redistribute it and/or modify it under
13
the terms of the GNU General Public License as published by the Free Software
14
Foundation; either version 2 of the License, or (at your option) any later
17
This program is distributed in the hope that it will be useful, but WITHOUT
18
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
19
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
22
You should have received a copy of the GNU General Public License along with
23
this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
24
Street, Fifth Floor, Boston, MA 02110-1301, USA.
27
/*----------------------------------------------------------------------------*/
31
#endif /* __cplusplus */
33
/*----------------------------------------------------------------------------
34
* Fichiers `include' librairie standard C
35
*----------------------------------------------------------------------------*/
37
/*----------------------------------------------------------------------------
38
* Fichiers `include' locaux
39
*----------------------------------------------------------------------------*/
41
#include "mei_math_util.h"
43
/*============================================================================
44
* Public function definitions
45
*============================================================================*/
48
* \brief Return the max value from two doubles.
50
* \param [in] x1 double
51
* \param [in] x2 double
56
mei_max(double x1, double x2)
65
* \brief Return the min value from two doubles.
67
* \param [in] x1 double
68
* \param [in] x2 double
73
mei_min(double x1, double x2)
84
#endif /* __cplusplus */