Define twopi with more precision.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@2649 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor 2012-10-05 17:17:37 +00:00
parent 86dcc48e0a
commit 7f4bc7aebe
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
//------------------------------------------------------------ MainWindow //------------------------------------------------------------- MainWindow
#include "mainwindow.h" #include "mainwindow.h"
#include "ui_mainwindow.h" #include "ui_mainwindow.h"
#include "devsetup.h" #include "devsetup.h"

View File

@ -29,7 +29,7 @@ extern "C" int d2aCallback(const void *inputBuffer, void *outputBuffer,
paUserData *udata=(paUserData*)userData; paUserData *udata=(paUserData*)userData;
short *wptr = (short*)outputBuffer; short *wptr = (short*)outputBuffer;
static double twopi=6.283185307; static double twopi=2.0*3.141592653589793238462;
static double baud=12000.0/udata->nsps; static double baud=12000.0/udata->nsps;
static double phi=0.0; static double phi=0.0;
static double dphi; static double dphi;