summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/pkg/math/sin.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/math/sin.go b/src/pkg/math/sin.go
index 70b7218c9..25f676355 100644
--- a/src/pkg/math/sin.go
+++ b/src/pkg/math/sin.go
@@ -28,7 +28,7 @@ func sinus(x float64, quad int) float64 {
var e float64;
e, y = Modf(x);
e = e + float64(quad);
- _, f := Modf(0.25 * e);
+ f, _ := Modf(0.25 * e);
quad = int(e - 4*f);
} else {
k := int32(x);