aboutsummaryrefslogtreecommitdiff
path: root/src/math
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2021-07-23 22:28:26 +0900
committerRuss Cox <rsc@golang.org>2021-08-17 13:54:10 +0000
commit4012fea822763ef3aa66dd949fa95b9f8d89450a (patch)
tree8419513e85867c188fb57e25cd660c53509dfee6 /src/math
parentb7b790a71a86678f036b7d30a892c5f792c5092f (diff)
downloadgo-4012fea822763ef3aa66dd949fa95b9f8d89450a.tar.xz
all: fix typos
Change-Id: I83180c472db8795803c1b9be3a33f35959e4dcc2 Reviewed-on: https://go-review.googlesource.com/c/go/+/336889 Reviewed-by: Rob Pike <r@golang.org> Reviewed-by: Austin Clements <austin@google.com>
Diffstat (limited to 'src/math')
-rw-r--r--src/math/sinh_s390x.s4
-rw-r--r--src/math/tan_s390x.s2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/math/sinh_s390x.s b/src/math/sinh_s390x.s
index 73701f24f1..d684968a3a 100644
--- a/src/math/sinh_s390x.s
+++ b/src/math/sinh_s390x.s
@@ -56,11 +56,11 @@ GLOBL sinhe9<>+0(SB), RODATA, $8
TEXT ·sinhAsm(SB),NOSPLIT,$0-16
FMOVD x+0(FP), F0
- //specail case Sinh(±0) = ±0
+ //special case Sinh(±0) = ±0
FMOVD $(0.0), F1
FCMPU F0, F1
BEQ sinhIsZero
- //specail case Sinh(±Inf = ±Inf
+ //special case Sinh(±Inf) = ±Inf
FMOVD $1.797693134862315708145274237317043567981e+308, F1
FCMPU F1, F0
BLEU sinhIsInf
diff --git a/src/math/tan_s390x.s b/src/math/tan_s390x.s
index b6e2295874..82267608b9 100644
--- a/src/math/tan_s390x.s
+++ b/src/math/tan_s390x.s
@@ -38,7 +38,7 @@ GLOBL ·tanxadd<> + 0(SB), RODATA, $8
TEXT ·tanAsm(SB), NOSPLIT, $0-16
FMOVD x+0(FP), F0
- //specail case Tan(±0) = ±0
+ //special case Tan(±0) = ±0
FMOVD $(0.0), F1
FCMPU F0, F1
BEQ atanIsZero