Skip to content

Specify precision? #4

@asmaloney

Description

@asmaloney

Is there a way to specify the double precision for writing?

My current code uses fmt to output, and by default I have numbers like this:

1.702286 -3.193588 -1.841843 51 65 49
1.706894 -3.202316 -1.841354 54 70 55
1.711227 -3.210495 -1.840775 58 72 57
1.716904 -3.221298 -1.841354 61 78 62
1.721603 -3.230179 -1.841141 65 82 66
1.675217 -3.175949 -1.843613 57 75 56
1.679672 -3.184494 -1.843216 54 73 54

With rply I'm getting this:

1.70229 -3.19359 -1.84184 51 65 49
1.70689 -3.20232 -1.84135 54 70 55
1.71123 -3.21049 -1.84078 58 72 57
1.7169 -3.2213 -1.84135 61 78 62
1.7216 -3.23018 -1.84114 65 82 66
1.67522 -3.17595 -1.84361 57 75 56
1.67967 -3.18449 -1.84322 54 73 54

I looked through the code, but didn't see anything - just want to make sure I'm not missing something.

BTW - in general are you accepting PRs or is this project "done'?

Thanks!

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