Skip to content

math/big: add SetUint64 and Uint64 functions to *Int #4389

@agl

Description

@agl
(for discussion)

math/big.*Int has SetInt64 and Int64() functions for setting the value of a *Int and
getting its value respectively.

However, when interfacing with other code, it would be very useful to have similar
functions for uint64's. SetBits() works on 64-bit systems with unsafe, but that's not a
very nice solution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeSuggestedIssues that may be good for new contributors looking for work to do.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions