mirror of
				https://github.com/saitohirga/WSJT-X.git
				synced 2025-10-31 13:10:19 -04:00 
			
		
		
		
	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:
		
							parent
							
								
									8fbb6bac79
								
							
						
					
					
						commit
						9135fb585c
					
				| @ -1,4 +1,4 @@ | ||||
| //------------------------------------------------------------ MainWindow
 | ||||
| //------------------------------------------------------------- MainWindow
 | ||||
| #include "mainwindow.h" | ||||
| #include "ui_mainwindow.h" | ||||
| #include "devsetup.h" | ||||
|  | ||||
| @ -29,7 +29,7 @@ extern "C" int d2aCallback(const void *inputBuffer, void *outputBuffer, | ||||
|   paUserData *udata=(paUserData*)userData; | ||||
|   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 phi=0.0; | ||||
|   static double dphi; | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user