Skip to content

Underscores in big_str macro for floats #40368

@mortenpi

Description

@mortenpi
julia> 0.123_456
0.123456

julia> big"0.123_456"
ERROR: ArgumentError: invalid number format 0.123_456 for BigInt or BigFloat
Stacktrace:
 [1] top-level scope
   @ REPL[2]:1

It was mentioned in #24834 (comment), but I didn't find a dedicated issue. There used to be issue (#21092), but that was closed when the integer case was implemented.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bignumsBigInt and BigFloathelp wantedIndicates that a maintainer wants help on an issue or pull request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions