fn sinc(t: f32) -> f32 {
    let a = t * std::f32::consts::PI;

    if t == 0.0 { 1.0 } else { a.sin() / a }
}
// sinc function: the ideal sampling filter.
sinc function: the ideal sampling filter.
sinc function : the ideal sampling filter .
fn sinc(t: f32) -> f32 {
    let a = t * std::f32::consts::PI;
    if t == 0.0 { 1.0 } else { a.sin() / a }
}
fn sinc ( t : f32 ) -> f32 { let a = t * std :: f32 :: consts :: PI ; if t == 0.0 { 1.0 } else { a . sin ( ) / a } }
sinc function: the ideal sampling filter.
sinc function : the ideal sampling filter .
t
f32
t
f32