summaryrefslogtreecommitdiffstats
path: root/vendor/modernc.org/libc/libc.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/modernc.org/libc/libc.go')
-rw-r--r--vendor/modernc.org/libc/libc.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/vendor/modernc.org/libc/libc.go b/vendor/modernc.org/libc/libc.go
index 1cd63db7..e1c00b0f 100644
--- a/vendor/modernc.org/libc/libc.go
+++ b/vendor/modernc.org/libc/libc.go
@@ -611,6 +611,7 @@ func Xisnanl(t *TLS, x float64) int32 { return Bool32(math.IsNaN(x))
func Xldexp(t *TLS, x float64, exp int32) float64 { return math.Ldexp(x, int(exp)) }
func Xlog(t *TLS, x float64) float64 { return math.Log(x) }
func Xlog10(t *TLS, x float64) float64 { return math.Log10(x) }
+func Xlog2(t *TLS, x float64) float64 { return math.Log2(x) }
func Xround(t *TLS, x float64) float64 { return math.Round(x) }
func Xsin(t *TLS, x float64) float64 { return math.Sin(x) }
func Xsinf(t *TLS, x float32) float32 { return float32(math.Sin(float64(x))) }