Skip to content

support floating point 1e30 notation #7

Description

@droundy

I'd love to see rust-yard support scientific notation.

I'm currently looking into using it with clapme to handle floating-point parsing. The motivation is that sometimes (when doing scientific coding) one wants to input something like sqrt(2), which is a nuisance to do if you have to copy a long string of digits. However, using rustyard in effect as a general floating-point parser doesn't work so well if it fails to parse ordinary floats.

For the moment, I see enough value here that I'll think for now I will first try from_str and if that doesn't work I'll use rust-yard, which is limiting to users, but still an improvement.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions