File: log10.go

package info (click to toggle)
golang-github-chewxy-math32 1.11.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 460 kB
  • sloc: asm: 388; makefile: 4
file content (7 lines) | stat: -rw-r--r-- 105 bytes parent folder | download
1
2
3
4
5
6
7
package math32

import "math"

func Log10(x float32) float32 {
	return float32(math.Log10(float64(x)))
}