Include <cmath> instead of <math.h> various places

This commit is contained in:
David Anderson 2013-05-27 16:44:22 -07:00
parent 71206bdaaf
commit f25cf0836a
12 changed files with 11 additions and 12 deletions

View File

@ -24,7 +24,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <cmath>
#include <setjmp.h>
#ifdef _WIN32

View File

@ -26,7 +26,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <cmath>
#include <setjmp.h>
#ifdef _WIN32

View File

@ -26,7 +26,7 @@
#include <ctime>
#include <cstdarg>
#include <cstring>
#include <math.h>
#include <cmath>
#if HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif

View File

@ -55,7 +55,7 @@
// [--rec_half_life X]
// half-life of recent est credit
#include <math.h>
#include <cmath>
#include "error_numbers.h"
#include "str_util.h"

View File

@ -35,7 +35,7 @@
#define finite _finite
#endif
#include <math.h>
#include <cmath>
#include "error_numbers.h"
#include "filesys.h"

View File

@ -29,7 +29,7 @@
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <math.h>
#include <cmath>
#include <time.h>
#endif

View File

@ -22,7 +22,7 @@
#ifdef _WIN32
#include "boinc_win.h"
#else
#include <math.h>
#include <cmath>
#endif
#include <string>
#include <vector>

View File

@ -22,7 +22,6 @@
#include <ctime>
#include <unistd.h>
#include <cmath>
#include <math.h>
// For machines with finite() defined in ieeefp.h
#if HAVE_IEEEFP_H

View File

@ -31,7 +31,7 @@
#include <cstring>
#include <cstdlib>
#include <string>
#include <math.h>
#include <cmath>
#include <ctype.h>
#include <errno.h>
#if HAVE_IEEEFP_H

View File

@ -27,7 +27,7 @@
#ifndef _WIN32
#include "config.h"
#include <string>
#include <math.h>
#include <cmath>
#include <string.h>
#include <stdlib.h>
#include <ctype.h>

View File

@ -50,7 +50,7 @@
#include <errno.h>
#include <string>
#include <cstring>
#include <math.h>
#include <cmath>
#if HAVE_IEEEFP_H
#include <ieeefp.h>
extern "C" {

View File

@ -19,7 +19,7 @@
#include <algorithm>
#include <limits.h>
#include <math.h>
#include <cmath>
#include <set>
#include <stdio.h>
#include <vector>