3 # Copyright ©2016 The Gonum Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style
5 # license that can be found in the LICENSE file.
7 cat c64/bench_test.go \
8 | gofmt -r 'complex(float32(n), float32(n)) -> float32(n)' \
9 | gofmt -r 'complex64 -> float32' \
10 | gofmt -r '1 + 1i -> 1' \
11 | gofmt -r '2 + 2i -> 2' \
16 cat c64/bench_test.go \
17 | gofmt -r 'complex(float32(n), float32(n)) -> float64(n)' \
18 | gofmt -r 'complex64 -> float64' \
19 | gofmt -r '1 + 1i -> 1' \
20 | gofmt -r '2 + 2i -> 2' \
25 cat c64/bench_test.go \
26 | gofmt -r 'float32 -> float64' \
27 | gofmt -r 'complex64 -> complex128' \
28 | sed 's/C64/C128/g' \
29 | sed 's/c64/c128/g' \