diff options
Diffstat (limited to 'src/pkg/math')
| -rw-r--r-- | src/pkg/math/floor.go | 2 | ||||
| -rw-r--r-- | src/pkg/math/sin.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/pkg/math/floor.go b/src/pkg/math/floor.go index 1580221ab..7f2c9111d 100644 --- a/src/pkg/math/floor.go +++ b/src/pkg/math/floor.go @@ -14,7 +14,7 @@ func Floor(x float64) float64 { } return -d; } - d, fract := Modf(x); + d, _ := Modf(x); return d; } diff --git a/src/pkg/math/sin.go b/src/pkg/math/sin.go index 8f0959ab0..779a86e94 100644 --- a/src/pkg/math/sin.go +++ b/src/pkg/math/sin.go @@ -29,7 +29,7 @@ func sinus(x float64, quad int) float64 { var e float64; e, y = Modf(x); e = e + float64(quad); - temp1, f := Modf(0.25*e); + _, f := Modf(0.25*e); quad = int(e - 4*f); } else { k := int32(x); |
