メモメモ <-ggrks :

nextAfter ってなんだ((

src/math/nextafter.go - The Go Programming Language

 

new function

 ゼロ初期化した型のメモリを確保して、そのポインタを返す。

 var t *T = new(T)

 t := new(T)

 上の書き方のが大事に思えた(

 

math/pow

powってなんよ(((exponential=指数

func Pow

func Pow(x, y float64) float64

 

strings/fields

consecutiveってなんよ((連続した、、、((consecutive numbers:続き番号

func Fields

func Fields(s string) []string

stringのスライスを返す。

 

作業中

 

interface型は、メソッドの網みたいな((

 

 

参考(((

strings:  http://golang.org/pkg/strings/#Fields

fmt:         https://golang.org/pkg/fmt/

math:    http://golang.org/pkg/math/#Pow

 

interfaces:

https://golang.org/doc/effective_go.html#interfaces