Skip to content

-p precision does not mean digits? #35

@johnblommers

Description

@johnblommers

Consider the following code which should generate a million digits of pi:

val -p 1000000 -e "pi" | wc -c
301032

Instead val is only giving up about 301032 characters, which includes the leading 3, the decimal point and the endline character.

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