Differences From Artifact [681ea58964]:

To Artifact [a82d5274ea]:


18
19
20
21
22
23
24






25
26
27
28
29
30
31
const bool true = 1;
const bool false = 0;
*/
#else
#define cast_to_double	static_cast<double>
using std::pow;
#endif /* ! __cplusplus */







static inline double
max (const double x1, const double x2)
{
  return cast_to_double ((x1 >= x2) ? x1 : (x1 < x2) ? x2 : 0);
}








>
>
>
>
>
>







18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
const bool true = 1;
const bool false = 0;
*/
#else
#define cast_to_double	static_cast<double>
using std::pow;
#endif /* ! __cplusplus */


static double pi = M_PI;
static double Pi = M_PI;
static double PI = M_PI;


static inline double
max (const double x1, const double x2)
{
  return cast_to_double ((x1 >= x2) ? x1 : (x1 < x2) ? x2 : 0);
}


MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]