aboutsummaryrefslogtreecommitdiff
path: root/libgo/go/math/remainder.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/math/remainder.go')
-rw-r--r--libgo/go/math/remainder.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/libgo/go/math/remainder.go b/libgo/go/math/remainder.go
index 0e2903e..bf8bfd5 100644
--- a/libgo/go/math/remainder.go
+++ b/libgo/go/math/remainder.go
@@ -35,6 +35,9 @@ package math
// Remainder(x, ±Inf) = x
// Remainder(x, NaN) = NaN
func Remainder(x, y float64) float64 {
+ if haveArchRemainder {
+ return archRemainder(x, y)
+ }
return remainder(x, y)
}