Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: precision-control when printing from simit programs #64

Open
VikingScientist opened this issue Sep 9, 2016 · 0 comments
Assignees

Comments

@VikingScientist
Copy link
Contributor

Printing is using the default of 8-decimal precision when using the print-function from inside a simit program.

This is inadequate if one where to transfer results for debugging purposes between environments (i.e. matlab). Calling std::setprecision(16) from the #include <iomanip> did not help.

Would it be possible to add a function to either the Program-class or Function-class to accommodate this need? Perhaps give the print function itself an optional precision argument?

@stephenchouca stephenchouca self-assigned this Sep 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants