<div dir="ltr"><div>Hello,</div><div> </div><div>Just a quick query. Not been using Scilab for a while, so maybe I have missed something, but is there a built-in precision setting for working with real and imaginary functions?</div>
<div> </div><div>Tried the Euler formula (special case) in Scilab 5.4.1:</div><div> </div><div>-->x=cos(%pi)+(%i*sin(%pi))<br> x =<br> <br> - 1. + 1.225D-16i <br> <br>-->y=%e^(%i*%pi)<br> y =<br> <br> - 1. + 1.225D-16i </div>
<div> </div><div>The real part is fine, but the complex has a measured value (approaching zero). Is there a way to tell Scilab if this gets beyond a limit to round off at zero say?</div><div> </div><div>Sure this is an easy one!</div>
<div> </div><div>Cheers</div><div><br>Lester</div></div>