|
From: | Colin Macdonald |
Subject: | Re: variable precision arithmetic (vpa) errant results in windows 10, octave-4.0.1 |
Date: | Wed, 22 Jun 2016 08:44:21 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 |
On 22/06/16 08:31, Colin Macdonald wrote:
On 21/06/16 21:30, reik red wrote:As you can see, the number "1/3" is inaccurately represented when digitsI haven't read all that but have you read "help vpa"?
That sounds ruder than I intended (maillist before coffee, sorry).Let me follow up with a question: "vpa" could explicitly warn when you give it a double (which is not a smallish integer). This is how "sym" behaves. Do you think that would be a good thing?
I originally figured that might be annoying for someone who understands and wants "vpa(1/3)"... but maybe those people can simply disable the error.
Thoughts? thanks, Colin
[Prev in Thread] | Current Thread | [Next in Thread] |