|
From: | Colin Macdonald |
Subject: | Re: variable precision arithmetic (vpa) errant results in windows 10, octave-4.0.1 |
Date: | Wed, 22 Jun 2016 14:34:34 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 |
On 22/06/16 11:26, Reik Reid wrote:
If vpa() behaved the same way as sym(), would leaving out the quotes be safe for all cases of constant numerical expressions? Is that a desirable behavior?
There is a relatively small set of values were its safe to leave off the quotes, for both sym and vpa. That set is "small" integers, inf, nan, and pi. The latter just for convenience (might have been a bad idea).
[Prev in Thread] | Current Thread | [Next in Thread] |