(z float64)
| 250 | } |
| 251 | |
| 252 | func roundF64(z float64) float64 { |
| 253 | if z < 0 { |
| 254 | return math.Ceil(z - 0.5) |
| 255 | } |
| 256 | return math.Floor(z + 0.5) |
| 257 | } |
| 258 | |
| 259 | // The complex numbers complex64 and complex128 can really just be decomposed |
| 260 | // into a pair of float32 or float64 values. It would be convenient to be able |
no outgoing calls
no test coverage detected