go/src/math/big
Robert Griesemer 1831437f19 math/big: better doc string for Float.Copy, add example test
Fixes #66358.

Change-Id: Ic9bde88eabfb2a446d32e1dc5ac404a51ef49f11
Reviewed-on: https://go-review.googlesource.com/c/go/+/590635
Auto-Submit: Robert Griesemer <gri@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Robert Griesemer <gri@google.com>
2024-06-06 15:46:54 +00:00
..
accuracy_string.go all: re-run stringer 2023-04-11 20:24:07 +00:00
alias_test.go
arith.go
arith_386.s all: drop old +build lines 2023-10-19 23:33:27 +00:00
arith_amd64.go all: drop old +build lines 2023-10-19 23:33:27 +00:00
arith_amd64.s all: drop old +build lines 2023-10-19 23:33:27 +00:00
arith_arm.s all: drop old +build lines 2023-10-19 23:33:27 +00:00
arith_arm64.s all: drop old +build lines 2023-10-19 23:33:27 +00:00
arith_decl.go all: document legacy //go:linkname for modules with ≥5,000 dependents 2024-05-23 01:15:13 +00:00
arith_decl_pure.go all: drop old +build lines 2023-10-19 23:33:27 +00:00
arith_decl_s390x.go all: drop old +build lines 2023-10-19 23:33:27 +00:00
arith_loong64.s all: drop old +build lines 2023-10-19 23:33:27 +00:00
arith_mips64x.s all: drop old +build lines 2023-10-19 23:33:27 +00:00
arith_mipsx.s all: drop old +build lines 2023-10-19 23:33:27 +00:00
arith_ppc64x.s all: convert PPC64 CMPx ...,R0,... to CMPx Rx,$0 2024-05-22 18:17:17 +00:00
arith_riscv64.s all: drop old +build lines 2023-10-19 23:33:27 +00:00
arith_s390x.s all: drop old +build lines 2023-10-19 23:33:27 +00:00
arith_s390x_test.go all: drop old +build lines 2023-10-19 23:33:27 +00:00
arith_test.go
arith_wasm.s all: drop old +build lines 2023-10-19 23:33:27 +00:00
bits_test.go all: change from sort functions to slices functions where feasible 2024-05-23 01:00:11 +00:00
calibrate_test.go all: use ^TestName$ regular pattern for invoking a single test 2023-09-05 23:35:29 +00:00
decimal.go
decimal_test.go
doc.go math: add available godoc link 2023-10-19 11:59:09 +00:00
example_rat_test.go
example_test.go
float.go math/big: better doc string for Float.Copy, add example test 2024-06-06 15:46:54 +00:00
float_test.go all: consistently use "IEEE 754" over "IEEE-754" 2024-04-11 20:22:45 +00:00
floatconv.go math: add available godoc link 2023-10-19 11:59:09 +00:00
floatconv_test.go
floatexample_test.go math/big: better doc string for Float.Copy, add example test 2024-06-06 15:46:54 +00:00
floatmarsh.go math/rand/v2, math/big: use internal/byteorder 2024-05-13 21:31:58 +00:00
floatmarsh_test.go
ftoa.go math: add available godoc link 2023-10-19 11:59:09 +00:00
gcd_test.go
hilbert_test.go
int.go math/big: use built-in clear to simplify code 2024-03-14 17:02:38 +00:00
int_test.go std: fix calls to Printf(s) with non-constant s 2024-05-23 18:42:28 +00:00
intconv.go math: add available godoc link 2023-10-19 11:59:09 +00:00
intconv_test.go
intmarsh.go math: add available godoc link 2023-10-19 11:59:09 +00:00
intmarsh_test.go
link_test.go
nat.go math/rand/v2, math/big: use internal/byteorder 2024-05-13 21:31:58 +00:00
nat_test.go math/big: fix uint64 overflow in nat.mulRange 2024-01-09 15:29:36 +00:00
natconv.go
natconv_test.go
natdiv.go math/big: use built-in clear to simplify code 2024-03-14 17:02:38 +00:00
prime.go
prime_test.go
rat.go math: add available godoc link 2023-10-19 11:59:09 +00:00
rat_test.go
ratconv.go math/big: faster FloatPrec implementation 2023-11-15 22:16:34 +00:00
ratconv_test.go math/big: faster FloatPrec implementation 2023-11-15 22:16:34 +00:00
ratmarsh.go math/rand/v2, math/big: use internal/byteorder 2024-05-13 21:31:58 +00:00
ratmarsh_test.go
roundingmode_string.go all: re-run stringer 2023-04-11 20:24:07 +00:00
sqrt.go
sqrt_test.go