/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2013, by the GROMACS development team, led by
+ * Copyright (c) 2013,2014, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
#include <config.h>
#endif
+#include <math.h>
+
#include "tngio.h"
#include "trx.h"
*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2013, by the GROMACS development team, led by
+ * Copyright (c) 2013,2014, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
#endif
#include <ctype.h>
+#include <math.h>
#include "sysstuff.h"
#include "physics.h"
*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2012, by the GROMACS development team, led by
+ * Copyright (c) 2012,2014, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
* be anywhere else in the code.
*/
-#include <math.h>
+#include "gromacs/math/utilities.h"
-/* we do it anyway. */
#ifdef __cplusplus
extern "C" {
#endif
-#ifndef M_PI
-#ifdef _PI
-#define M_PI _PI
-#else
-#define M_PI 3.14159265358979323846
-#endif
-#endif
-
#define ANGSTROM (1e-10) /* Old... */
#define KILO (1e3) /* Thousand */
#define NANO (1e-9) /* A Number */
#include "typedefs.h"
#include "sysstuff.h"
#include "gmx_fatal.h"
+#include <math.h>
#include "physics.h"
#ifdef __cplusplus