Commit 14499ed8 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Define M_SQRT2 if not available.

parent 4a333b09
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
#endif #endif
#include <math.h>
#include <float.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <float.h>
#include <math.h>
#ifndef M_SQRT2
#define M_SQRT2 1.41421356237309504880168872420969808
#endif
#include "dmemory.h" #include "dmemory.h"
#include "gaussgrid.h" #include "gaussgrid.h"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment