log2.go 103 B

1234567
  1. package math32
  2. import "math"
  3. func Log2(x float32) float32 {
  4. return float32(math.Log2(float64(x)))
  5. }