[prev in list] [next in list] [prev in thread] [next in thread] 

List:       scilab-users
Subject:    Re: [Scilab-users] Problems arising from truncation of %pi
From:       Samuel Gougeon <sgougeon () free ! fr>
Date:       2021-01-09 12:11:14
Message-ID: b0cd62fb-5275-b567-9d59-8e3e25695766 () free ! fr
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Le 09/01/2021 à 13:04, Samuel Gougeon a écrit :
> Hello Federico,
>
> Le 09/01/2021 à 01:32, Federico Miyara a écrit :
>>
>> Jean-Yves,
>>
>>>> sin(x - n*pi)
>>> So now the problem can be how these large numbers are obtained
>>> --> a=1e16+1
>>> --> a-1e16
>>> of course equals zero.
>>
>> 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.
>
>
> MPScilab <https://atoms.scilab.org/toolboxes/MPScilab> is an external 
> module available up to Scilab 5.3 -- not recompiled since then -- 
> allowing *arbitrary precision computations* for a short list 
> <http://forge.scilab.org/index.php/p/mpscilab/source/tree/master/mpscilab/help/en_US> 
> of the mathematical functions.
> sin() is not in the list, but exp() is.
>
Sorry: all trigonometric functions are supported. I have just missed the 
dedicated section where they are addressed.


[Attachment #5 (text/html)]

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">Le 09/01/2021 à 13:04, Samuel Gougeon a
      écrit :<br>
    </div>
    <blockquote type="cite"
      cite="mid:dcb23ec0-bfdd-511c-889c-4ffb46bc8824@free.fr">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <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>
          --&gt; a=1e16+1 <br>
          --&gt; 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.</p>
    </blockquote>
    <p>Sorry: all trigonometric functions are supported. I have just
      missed the dedicated section where they are addressed.<br>
      <br>
    </p>
  </body>
</html>


_______________________________________________
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic