Skip to content

math/big: update to math/rand/v2 #70790

Description

@robpike

Go version

go version 1.23

Output of go env in your module/workspace:

N/A

What did you do?

I wanted to update robpike.io/ivy to math/rand/v2, but was inconvenienced by math/big/Int.Rand using the old random number generator. The type in the signature precludes using v2.

Compatibility of output aside, it should be easy to update, and also a good idea to keep the library consistent. math/rand/v2 is the right one to use.

What did you see happen?

Sadness and pain.

What did you expect to see?

Joy and clear skies.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.v2An incompatible library change

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions