dsp/window: use conventional 2dp approximate constants

This commit is contained in:
Dan Kortschak
2020-09-16 14:29:00 +09:30
parent dfc757bb79
commit dda0908b26
4 changed files with 18 additions and 18 deletions

View File

@@ -71,8 +71,8 @@ var windowTests = []struct {
{
name: "Hamming", fn: Hamming, fnCmplx: HammingComplex,
want: []float64{
0.086957, 0.111692, 0.183218, 0.293785, 0.431408, 0.581178, 0.726861, 0.852672, 0.944977, 0.993774,
0.993774, 0.944977, 0.852672, 0.726861, 0.581178, 0.431409, 0.293785, 0.183218, 0.111692, 0.086957,
0.08, 0.104924, 0.176995, 0.288404, 0.427077, 0.577986, 0.72478, 0.85155, 0.944558, 0.993726,
0.993726, 0.944558, 0.85155, 0.72478, 0.577986, 0.427077, 0.288404, 0.176995, 0.104924, 0.08,
},
},
{