1 2 /* Web Polygraph http://www.web-polygraph.org/ 3 * Copyright 2003-2011 The Measurement Factory 4 * Licensed under the Apache License, Version 2.0 */ 5 6 #ifndef POLYGRAPH__XSTD_H_MATH_H 7 #define POLYGRAPH__XSTD_H_MATH_H 8 9 #include <math.h> 10 11 #ifndef HAVE_RINT rint(double x)12 inline double rint(double x) { return (int)(x + 0.5); } 13 #endif 14 15 16 #endif 17