<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">Hello Federico,</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">Le 09/01/2021 à 01:32, Federico Miyara
a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:63c4b367-1646-a1f0-bd7d-4483d06d665d@fceia.unr.edu.ar">
<br>
Jean-Yves,
<br>
<br>
<blockquote type="cite">
<blockquote type="cite">sin(x - n*pi)
<br>
</blockquote>
So now the problem can be how these large numbers are obtained
<br>
--> a=1e16+1
<br>
--> a-1e16
<br>
of course equals zero.
<br>
</blockquote>
<br>
Yes, I've thought about it and you are right, above 1e16 x is so
sparse, cycle-wise speaking, that my original intention doesn't
make much sense.
<br>
</blockquote>
<p><br>
<a moz-do-not-send="true"
href="https://atoms.scilab.org/toolboxes/MPScilab">MPScilab</a>
is an external module available up to Scilab 5.3 -- not recompiled
since then -- allowing <b>arbitrary precision computations</b>
for a <a moz-do-not-send="true"
href="http://forge.scilab.org/index.php/p/mpscilab/source/tree/master/mpscilab/help/en_US">short
list</a> of the mathematical functions.<br>
sin() is not in the list, but exp() is. So if this release
supports complex input arguments, Euler formulae should be usable
to comput trigonometric functions as well in arbitrary precision.</p>
<p>Unlike MPScilab, <a moz-do-not-send="true"
href="https://atoms.scilab.org/toolboxes/DD_QD">DD_QD</a> is
available for Scilab 6.1. It implements floating point
computations for decimal numbers encoded over 2x8 or 4x8 bytes,
instead of "only" 8 bytes.<br>
sin(), cos() and tan() are among supported functions.<br>
<br>
You may try them out, out of curiosity.<br>
<br>
Regards<br>
Samuel</p>
</body>
</html>