trig: fix formatting

This commit is contained in:
Matt Huszagh 2020-12-09 15:53:56 -08:00
parent 4add34cf9a
commit a82b0f3e90
3 changed files with 4 additions and 5 deletions

View File

@ -1,7 +1,7 @@
use std::fs::File;
use std::path::Path;
use std::io::prelude::*;
use std::f64::consts::PI;
use std::fs::File;
use std::io::prelude::*;
use std::path::Path;
const TABLE_DEPTH: usize = 8;
const TABLE_SIZE: usize = 1 << TABLE_DEPTH;

View File

@ -17,7 +17,6 @@ pub fn shift_round(x: i32, shift: i32) -> i32 {
(x + (1 << (shift - 1))) >> shift
}
pub mod iir;
pub mod lockin;
pub mod pll;

View File

@ -1,5 +1,5 @@
use super::{shift_round, Complex};
use core::mem::swap;
use super::{Complex, shift_round};
const PHASE_BITS: i32 = 20;
const LUT_DEPTH: i32 = 8;