[Scilab-users] Function int() strange behavior

ol.bond oleksiy.bond at gmail.com
Mon Apr 18 08:17:11 CEST 2016


Thank you Samuel, I got it also....

2016-04-18 15:13 GMT+09:00 Samuel GOUGEON [via Scilab / Xcos - Mailing
Lists Archives] <ml-node+s994242n4033994h41 at n3.nabble.com>:

> Hello,
>
> Le 18/04/2016 08:03, ol.bond a écrit :
>
> .../...
>
> *but:*
>
> int(1.45/0.025)
>  ans  =
>
>     57.
>
> Can anyone explain what is going on?
>
> .
> --> 1.45/0.025 - 58
>  ans  =
>
>   -7.105D-15
>
> is the round-off error
> SG
>
>
> _______________________________________________
> users mailing list
> [hidden email] <http:///user/SendEmail.jtp?type=node&node=4033994&i=0>
> http://lists.scilab.org/mailman/listinfo/users
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://mailinglists.scilab.org/Function-int-strange-behavior-tp4033993p4033994.html
> To start a new topic under Scilab users - Mailing Lists Archives, email
> ml-node+s994242n2602246h53 at n3.nabble.com
> To unsubscribe from Scilab users - Mailing Lists Archives, click here
> <http://mailinglists.scilab.org/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=2602246&code=b2xla3NpeS5ib25kQGdtYWlsLmNvbXwyNjAyMjQ2fDE2MDI0ODA1Mzg=>
> .
> NAML
> <http://mailinglists.scilab.org/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: http://mailinglists.scilab.org/Function-int-strange-behavior-tp4033993p4033995.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20160417/0802404b/attachment.htm>


More information about the users mailing list