Skip to content

CLI does not support arguments specified in scientific notation #10

@lindstro

Description

@lindstro

One cannot specify target rms error in scientific notation, e.g., as -r 1e-6. Rather, this must be specified as -r 0.000001. This becomes cumbersome when integrating tthresh with other tools (like awk) that output very small or large floating-point numbers in scientific notation.

Can the is_number() function be replaced with something based off sscanf(), which parses numbers in any format supported by printf()? For example, one could specify a number like 2-23 (single-precision machine epsilon) as 0x1p-23.

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