Skip to content

math/big: make Float implement encoding.TextMarshaler and encoding.TextUnmarshaler interfaces #12256

@kostya-sh

Description

@kostya-sh

Both big.Int and big.Rat have MarshalText and UnmarshalText methods to implement two interfaces from encoding package: TextMarshaler and TextUnmarshaler.

big.Float should implement these interfaces as well

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions