diff options
Diffstat (limited to 'src/pkg/math/floor.go')
-rw-r--r-- | src/pkg/math/floor.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/pkg/math/floor.go b/src/pkg/math/floor.go index 7f2c9111d..cb3110fb2 100644 --- a/src/pkg/math/floor.go +++ b/src/pkg/math/floor.go @@ -19,6 +19,4 @@ func Floor(x float64) float64 { } // Ceil returns the least integer value greater than or equal to x. -func Ceil(x float64) float64 { - return -Floor(-x); -} +func Ceil(x float64) float64 { return -Floor(-x) } |