]> Cypherpunks repositories - gostls13.git/commit
math: remove redundant infinity tests
authorMichael Munday <mndygolang+git@gmail.com>
Fri, 1 Aug 2025 00:53:54 +0000 (01:53 +0100)
committerGopher Robot <gobot@golang.org>
Fri, 8 Aug 2025 19:47:59 +0000 (12:47 -0700)
commit0201524c527f18e21240dce682dfe725b08cfb12
tree819cff6a3be3463ea7b0e199ef29d881ed423839
parentdcc77f9e3c7097b497e99800a7a4ed80c7a430d8
math: remove redundant infinity tests

These cases are covered by existing comparisons against constants.

Change-Id: I19ad530e95d2437a8617f5229495da591ceb779a
Reviewed-on: https://go-review.googlesource.com/c/go/+/692255
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Sean Liao <sean@liao.dev>
Reviewed-by: Russ Cox <rsc@golang.org>
Auto-Submit: Sean Liao <sean@liao.dev>
src/math/exp.go