Re: Linux gcc vs Windows Studio Net 2005
Posted by
Luigi Ballabio on
URL: http://quantlib.414.s1.nabble.com/Linux-gcc-vs-Windows-Studo-Net-2005-tp4381p4387.html
On 2/3/06, Piero Foscari <
[hidden email]> wrote:
> Just as a side note, it's usually good numerical practice using relative
> tolerances, better than absolute. Maybe this is not so important here
> (still have to really look at QL) - as in places where the order of
> magnitude is kinda stable - but it's always a good habit to get, and
> eventually only get rid of it where performance requirements are
> critical, anyway some care still needs to be taken then...
Yes. The test case is one where the order of magnitude is known, but
in general we have a close(x,y) function which implements Knuth's
algorithm for floating-point equality.
> While I'm at it, is QL intended to get parallel someday? Or is it
> already and I just missed it? Couldnt find this on the faq...
Not much at this time. There's just a hook in there which can be used
for bypassing the most obvious point where it's not parallel---see the
thread at <
http://sourceforge.net/mailarchive/forum.php?thread_id=8151830&forum_id=4299>.
Luigi