Quantcast
Channel: First steps - JuliaLang
Viewing all articles
Browse latest Browse all 2795

Uniformly set floating point sig digits in a code

$
0
0

Hello guys, I am using Julia for scientific computation and would like to know if there is a way to set the significant digits of all floating point variables in the code to a specified value. I know I can use round(var, sigdigits=n) but it requires me to perform this for every variable in my code. Is there a way to do it in a single shot?
Thanks

4 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 2795

Trending Articles