]> Cypherpunks repositories - gostls13.git/commit
math: rename Modf parameter int to integer
authorMichael Munday <mndygolang+git@gmail.com>
Mon, 25 Aug 2025 21:52:02 +0000 (22:52 +0100)
committerGopher Robot <gobot@golang.org>
Wed, 3 Sep 2025 13:50:43 +0000 (06:50 -0700)
commit3e596d448fb6b9668d144cffaa65e1d12a5fdce8
tree44dc55b90ffa815fdd9bf9d58af89faaee5fbf5c
parent2a7f1d47b0650c92b47f0cd5bc3536d438e4bbbe
math: rename Modf parameter int to integer

Avoid using int as a parameter name. Also, rename frac to
fractional for consistency.

Addresses comment on CL 694896:
https://go-review.googlesource.com/c/go/+/694896/comment/a9723a07_8352e3aa/

Change-Id: Icedeecf65ad2f51d4e8d5bcf6e64c0eae9885dec
Reviewed-on: https://go-review.googlesource.com/c/go/+/699035
Auto-Submit: Sean Liao <sean@liao.dev>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Sean Liao <sean@liao.dev>
Reviewed-by: Joel Sing <joel@sing.id.au>
src/math/modf.go