mirror of https://github.com/BOINC/boinc.git
Include <cmath> instead of <math.h> various places
This commit is contained in:
parent
71206bdaaf
commit
f25cf0836a
|
@ -24,7 +24,7 @@
|
|||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
#include <setjmp.h>
|
||||
|
||||
#ifdef _WIN32
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
#include <setjmp.h>
|
||||
|
||||
#ifdef _WIN32
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
#define finite _finite
|
||||
#endif
|
||||
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
|
||||
#include "error_numbers.h"
|
||||
#include "filesys.h"
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
#include <time.h>
|
||||
#endif
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#ifdef _WIN32
|
||||
#include "boinc_win.h"
|
||||
#else
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
#endif
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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" {
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
#include <algorithm>
|
||||
#include <limits.h>
|
||||
#include <math.h>
|
||||
#include <cmath>
|
||||
#include <set>
|
||||
#include <stdio.h>
|
||||
#include <vector>
|
||||
|
|
Loading…
Reference in New Issue