Switch gain to float64 examples