mirror of
https://github.com/make-42/xyosc
synced 2025-01-18 18:57:10 +01:00
12 lines
165 B
Go
12 lines
165 B
Go
package math32
|
|
|
|
import "math"
|
|
|
|
func Logb(x float32) float32 {
|
|
return float32(math.Logb(float64(x)))
|
|
}
|
|
|
|
func Ilogb(x float32) int {
|
|
return math.Ilogb(float64(x))
|
|
}
|