diff options
Diffstat (limited to 'libgo/go/math/gamma.go')
-rw-r--r-- | libgo/go/math/gamma.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/go/math/gamma.go b/libgo/go/math/gamma.go index 4c5b17d05c7..73ca0e53add 100644 --- a/libgo/go/math/gamma.go +++ b/libgo/go/math/gamma.go @@ -151,7 +151,7 @@ func Gamma(x float64) float64 { } // Reduce argument - z := float64(1) + z := 1.0 for x >= 3 { x = x - 1 z = z * x |