aboutsummaryrefslogtreecommitdiff
path: root/src/math
diff options
context:
space:
mode:
authorRyan Leung <rleungx@gmail.com>2021-11-23 03:00:32 +0000
committerGopher Robot <gobot@golang.org>2022-05-08 17:27:54 +0000
commitdd8d425fedd88970a7ee79e908eb47f6d1fcdcad (patch)
tree053018dbeb61dff1c4b8911cd59f15dea6d7f883 /src/math
parentdf57592276bc26e2eb4e4ca5e77e4e2e422c7c6b (diff)
downloadgo-dd8d425fedd88970a7ee79e908eb47f6d1fcdcad.tar.xz
all: fix some lint issues
Make some code more simple. Change-Id: I801adf0dba5f6c515681345c732dbb907f945419 GitHub-Last-Rev: a505146baca00a1b3268d11d10510afa8cea6f1d GitHub-Pull-Request: golang/go#49626 Reviewed-on: https://go-review.googlesource.com/c/go/+/364634 Run-TryBot: Ian Lance Taylor <iant@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com> Reviewed-by: Keith Randall <khr@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: David Chase <drchase@google.com>
Diffstat (limited to 'src/math')
-rw-r--r--src/math/tan.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/math/tan.go b/src/math/tan.go
index 515dd82f73..8f6e71e82b 100644
--- a/src/math/tan.go
+++ b/src/math/tan.go
@@ -67,10 +67,10 @@ var _tanP = [...]float64{
}
var _tanQ = [...]float64{
1.00000000000000000000e0,
- 1.36812963470692954678e4, //0x40cab8a5eeb36572
- -1.32089234440210967447e6, //0xc13427bc582abc96
- 2.50083801823357915839e7, //0x4177d98fc2ead8ef
- -5.38695755929454629881e7, //0xc189afe03cbe5a31
+ 1.36812963470692954678e4, // 0x40cab8a5eeb36572
+ -1.32089234440210967447e6, // 0xc13427bc582abc96
+ 2.50083801823357915839e7, // 0x4177d98fc2ead8ef
+ -5.38695755929454629881e7, // 0xc189afe03cbe5a31
}
// Tan returns the tangent of the radian argument x.