Skip to content

Improve to_str & from_str with better radix handling of integer types #4126

Closed
@kvark

Description

@kvark

"float::to_str()" does not have a radix parameter, working under base 10. We should preserve this behavior for integer types as well. We also need "to_str_radix()" and "from_str_radix()" functions for integer types.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-enhancementCategory: An issue proposing an enhancement or a PR with one.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions