<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/151496</link>
    <title>MATLAB Central Newsreader - Seeking numerical package for quadruple precision...</title>
    <description>Feed for thread: Seeking numerical package for quadruple precision...</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2008 by The MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>The MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Tue, 03 Jul 2007 18:33:45 -0400</pubDate>
      <title>Seeking numerical package for quadruple precision...</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/151496#380937</link>
      <author>Vista</author>
      <description>Hi all,&lt;br&gt;
&lt;br&gt;
I have some computation and simulation which need quadruple precision. I &lt;br&gt;
mean, the double precision is not enough, while high precision such as 1000 &lt;br&gt;
digits is not needed, and that's too slow. I guess quadruple precision &lt;br&gt;
exactly fits my problem and should be much faster than double precision.&lt;br&gt;
&lt;br&gt;
Could anybody tell me if MS Visual C++, or Intel C, Intel Fortran have &lt;br&gt;
already got quadruple precision in them and they are fully supported on &lt;br&gt;
Intel based cpus? I guess Intel Fortran has quadruple precision, but since I &lt;br&gt;
prefer C/C++ so my first choices are within C/C++ languages.&lt;br&gt;
&lt;br&gt;
Moreover, do GSL, Intel MKL, and IMSL etc. have got quadruple precision &lt;br&gt;
support? I only need +, -, *, /, exp, and log.&lt;br&gt;
&lt;br&gt;
I eventually have to do everything in C/C++ so I am primarily looking for &lt;br&gt;
numerical libraries, instead of Matlab or Maple or Mathematica's symbolic &lt;br&gt;
capability.&lt;br&gt;
&lt;br&gt;
But if you know how to "simulate" quadruple precision in Matlab or Maple, or &lt;br&gt;
Mathematica, in order to see if an algorithm will overslow when converting &lt;br&gt;
into C/C++/Fortran, please let me know. I want to do the algorithm design in &lt;br&gt;
Matlab, and test if it will overflow, before converting everything into &lt;br&gt;
C/C++/Fortran.&lt;br&gt;
&lt;br&gt;
If you know how to "simulate" quadruple precision in Matlab, Maple or &lt;br&gt;
Mathematica even with the symbolic toolbox, please let me know too... this &lt;br&gt;
is for algorithm design and testing...&lt;br&gt;
&lt;br&gt;
Moreover, are there popular quadruple precision packages? Please recommend &lt;br&gt;
the fastest one. I am really in huge need of speed.&lt;br&gt;
&lt;br&gt;
Thank you very much!&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Tue, 03 Jul 2007 18:53:39 -0400</pubDate>
      <title>Re: Seeking numerical package for quadruple precision...</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/151496#380940</link>
      <author>Vista</author>
      <description>I mean, I am looking for the fastest one, not just any one...&lt;br&gt;
&lt;br&gt;
I know from Google there are quite a few quadruple packages out there.&lt;br&gt;
&lt;br&gt;
But I need the fastest ones... Speed is really critical...&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
"Vista" &amp;lt;abc@gmai.com&amp;gt; wrote in message &lt;br&gt;
news:f6etbs$2of$1@news.Stanford.EDU...&lt;br&gt;
&amp;gt; Hi all,&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I have some computation and simulation which need quadruple precision. I &lt;br&gt;
&amp;gt; mean, the double precision is not enough, while high precision such as &lt;br&gt;
&amp;gt; 1000 digits is not needed, and that's too slow. I guess quadruple &lt;br&gt;
&amp;gt; precision exactly fits my problem and should be much faster than double &lt;br&gt;
&amp;gt; precision.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Could anybody tell me if MS Visual C++, or Intel C, Intel Fortran have &lt;br&gt;
&amp;gt; already got quadruple precision in them and they are fully supported on &lt;br&gt;
&amp;gt; Intel based cpus? I guess Intel Fortran has quadruple precision, but since &lt;br&gt;
&amp;gt; I prefer C/C++ so my first choices are within C/C++ languages.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Moreover, do GSL, Intel MKL, and IMSL etc. have got quadruple precision &lt;br&gt;
&amp;gt; support? I only need +, -, *, /, exp, and log.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I eventually have to do everything in C/C++ so I am primarily looking for &lt;br&gt;
&amp;gt; numerical libraries, instead of Matlab or Maple or Mathematica's symbolic &lt;br&gt;
&amp;gt; capability.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; But if you know how to "simulate" quadruple precision in Matlab or Maple, &lt;br&gt;
&amp;gt; or Mathematica, in order to see if an algorithm will overslow when &lt;br&gt;
&amp;gt; converting into C/C++/Fortran, please let me know. I want to do the &lt;br&gt;
&amp;gt; algorithm design in Matlab, and test if it will overflow, before &lt;br&gt;
&amp;gt; converting everything into C/C++/Fortran.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; If you know how to "simulate" quadruple precision in Matlab, Maple or &lt;br&gt;
&amp;gt; Mathematica even with the symbolic toolbox, please let me know too... this &lt;br&gt;
&amp;gt; is for algorithm design and testing...&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Moreover, are there popular quadruple precision packages? Please recommend &lt;br&gt;
&amp;gt; the fastest one. I am really in huge need of speed.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Thank you very much!&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &lt;br&gt;
&lt;br&gt;
&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Wed, 04 Jul 2007 08:10:35 -0400</pubDate>
      <title>Re: Seeking numerical package for quadruple precision...</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/151496#381043</link>
      <author> Rune Allnor</author>
      <description>On 4 Jul, 14:21, "Vista" &amp;lt;a...@gmai.com&amp;gt; wrote:&lt;br&gt;
&lt;br&gt;
&amp;gt; I need 30 digits of precision digits.&lt;br&gt;
&lt;br&gt;
Just out of curiousity - why?&lt;br&gt;
&lt;br&gt;
Rune&lt;br&gt;
&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Wed, 04 Jul 2007 11:16:33 -0400</pubDate>
      <title>Re: Seeking numerical package for quadruple precision...</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/151496#381059</link>
      <author>dpb</author>
      <description>Rune Allnor wrote:&lt;br&gt;
&amp;gt; On 4 Jul, 14:21, "Vista" &amp;lt;a...@gmai.com&amp;gt; wrote:&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt;&amp;gt; I need 30 digits of precision digits.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Just out of curiousity - why?&lt;br&gt;
&lt;br&gt;
It's not clear "Vista" knows/understands the "why"...he's posted similar &lt;br&gt;
topic in c.l.fortran and so far the answers have been anything but &lt;br&gt;
enlightening.&lt;br&gt;
&lt;br&gt;
I've been wondering where he's going to get the 30 digits of precision &lt;br&gt;
for the initialization to start from myself... :)&lt;br&gt;
&lt;br&gt;
--&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Wed, 04 Jul 2007 12:02:33 -0400</pubDate>
      <title>Re: Seeking numerical package for quadruple precision...</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/151496#381058</link>
      <author>Jerry Avins</author>
      <description>Vladimir Vassilevsky wrote:&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Vista wrote:&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt;&amp;gt; I have some computation and simulation which need quadruple precision.  I&lt;br&gt;
&amp;gt;&amp;gt; mean, the double precision is not enough, while high precision such as &lt;br&gt;
&amp;gt;&amp;gt; 1000 digits is not needed, and that's too slow.  I guess quadruple &lt;br&gt;
&amp;gt;&amp;gt; precision&lt;br&gt;
&amp;gt;&amp;gt; exactly fits my problem and should be much faster than double precision.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; MIRACL&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt;&amp;gt; Moreover, are there popular quadruple precision packages? Please &lt;br&gt;
&amp;gt;&amp;gt; recommend the fastest one. I am really in huge need of speed.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; And what is the problem to develop such a basic thing yourself?&lt;br&gt;
&lt;br&gt;
I drove someone's assertive grandmother on an errand, and she screamed &lt;br&gt;
when I turned left off the road, "There's a car coming!" I answered that &lt;br&gt;
the car would pass well behind us (which it did) and she asked &lt;br&gt;
indignantly how I could know that. I told her that knowing it was part &lt;br&gt;
of being a competent driver. She answered, again indignantly, "Well, I &lt;br&gt;
didn't know it" to which I answered, "That's an easy syllogism. Draw &lt;br&gt;
your own conclusion." Vista seems to believe that quad precision is &lt;br&gt;
"much faster" than double precision. What conclusion are we to draw?&lt;br&gt;
&lt;br&gt;
Jerry&lt;br&gt;
-- &lt;br&gt;
Engineering is the art of making what you want from things you can get.&lt;br&gt;
&#194;&#175;&#194;&#175;&#194;&#175;&#194;&#175;&#194;&#175;&#194;&#175;&#194;&#175;&#194;&#175;&#194;&#175;&#194;&#175;&#194;&#175;&#194;&#175;&#194;&#175;&#194;&#175;&#194;&#175;&#194;&#175;&#194;&#175;&#194;&#175;&#194;&#175;&#194;&#175;&#194;&#175;&#194;&#175;&#194;&#175;&#194;&#175;&#194;&#175;&#194;&#175;&#194;&#175;&#194;&#175;&#194;&#175;&#194;&#175;&#194;&#175;&#194;&#175;&#194;&#175;&#194;&#175;&#194;&#175;&#194;&#175;&#194;&#175;&#194;&#175;&#194;&#175;&#194;&#175;&#194;&#175;&#194;&#175;&#194;&#175;&#194;&#175;&#194;&#175;&#194;&#175;&#194;&#175;&#194;&#175;&#194;&#175;&#194;&#175;&#194;&#175;&#194;&#175;&#194;&#175;&#194;&#175;&#194;&#175;&#194;&#175;&#194;&#175;&#194;&#175;&#194;&#175;&#194;&#175;&#194;&#175;&#194;&#175;&#194;&#175;&#194;&#175;&#194;&#175;&#194;&#175;&#194;&#175;&#194;&#175;&#194;&#175;&#194;&#175;&#194;&#175;&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Wed, 04 Jul 2007 15:09:47 -0400</pubDate>
      <title>Re: Seeking numerical package for quadruple precision...</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/151496#381042</link>
      <author>Vladimir Vassilevsky</author>
      <description>&lt;br&gt;
&lt;br&gt;
Vista wrote:&lt;br&gt;
&lt;br&gt;
&amp;gt; I have some computation and simulation which need quadruple precision.  I&lt;br&gt;
&amp;gt; mean, the double precision is not enough, while high precision such as 1000 &lt;br&gt;
&amp;gt; digits is not needed, and that's too slow.  I guess quadruple precision&lt;br&gt;
&amp;gt; exactly fits my problem and should be much faster than double precision.&lt;br&gt;
&lt;br&gt;
MIRACL&lt;br&gt;
&lt;br&gt;
&amp;gt; Moreover, are there popular quadruple precision packages? Please recommend &lt;br&gt;
&amp;gt; the fastest one. I am really in huge need of speed.&lt;br&gt;
&lt;br&gt;
And what is the problem to develop such a basic thing yourself?&lt;br&gt;
&lt;br&gt;
Vladimir Vassilevsky&lt;br&gt;
&lt;br&gt;
DSP and Mixed Signal Design Consultant&lt;br&gt;
&lt;br&gt;
&lt;a href="http://www.abvolt.com"&gt;http://www.abvolt.com&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Wed, 04 Jul 2007 19:08:13 -0400</pubDate>
      <title>Re: Seeking numerical package for quadruple precision...</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/151496#381072</link>
      <author> Le Chaud Lapin</author>
      <description>On Jul 4, 7:21 am, "Vista" &amp;lt;a...@gmai.com&amp;gt; wrote:&lt;br&gt;
&amp;gt; "Le Chaud Lapin" &amp;lt;jaibudu...@gmail.com&amp;gt; wrote in messagenews:1183534955.773488.278220@k79g2000hse.googlegroups.com...&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; On Jul 3, 8:53 pm, "Vista" &amp;lt;a...@gmai.com&amp;gt; wrote:&lt;br&gt;
&amp;gt; &amp;gt;&amp;gt; I mean, I am looking for the fastest one, not just any one...&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt;&amp;gt; I know from Google there are quite a few quadruple packages out there.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt;&amp;gt; But I need the fastest ones... Speed is really critical...&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt;&amp;gt; "Vista" &amp;lt;a...@gmai.com&amp;gt; wrote in message&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt;&amp;gt;news:f6etbs$2of$1@news.Stanford.EDU...&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt;&amp;gt; &amp;gt; Hi all,&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt;&amp;gt; &amp;gt; I have some computation and simulation which need quadruple precision.&lt;br&gt;
&amp;gt; &amp;gt;&amp;gt; &amp;gt; I&lt;br&gt;
&amp;gt; &amp;gt;&amp;gt; &amp;gt; mean, the double precision is not enough, while high precision such as&lt;br&gt;
&amp;gt; &amp;gt;&amp;gt; &amp;gt; 1000 digits is not needed, and that's too slow. I guess quadruple&lt;br&gt;
&amp;gt; &amp;gt;&amp;gt; &amp;gt; precision exactly fits my problem and should be much faster than double&lt;br&gt;
&amp;gt; &amp;gt;&amp;gt; &amp;gt; precision.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt;&amp;gt; &amp;gt; Could anybody tell me if MS Visual C++, or Intel C, Intel Fortran have&lt;br&gt;
&amp;gt; &amp;gt;&amp;gt; &amp;gt; already got quadruple precision in them and they are fully supported on&lt;br&gt;
&amp;gt; &amp;gt;&amp;gt; &amp;gt; Intel based cpus? I guess Intel Fortran has quadruple precision, but&lt;br&gt;
&amp;gt; &amp;gt;&amp;gt; &amp;gt; since&lt;br&gt;
&amp;gt; &amp;gt;&amp;gt; &amp;gt; I prefer C/C++ so my first choices are within C/C++ languages.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt;&amp;gt; &amp;gt; Moreover, do GSL, Intel MKL, and IMSL etc. have got quadruple precision&lt;br&gt;
&amp;gt; &amp;gt;&amp;gt; &amp;gt; support? I only need +, -, *, /, exp, and log.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt;&amp;gt; &amp;gt; I eventually have to do everything in C/C++ so I am primarily looking&lt;br&gt;
&amp;gt; &amp;gt;&amp;gt; &amp;gt; for&lt;br&gt;
&amp;gt; &amp;gt;&amp;gt; &amp;gt; numerical libraries, instead of Matlab or Maple or Mathematica's&lt;br&gt;
&amp;gt; &amp;gt;&amp;gt; &amp;gt; symbolic&lt;br&gt;
&amp;gt; &amp;gt;&amp;gt; &amp;gt; capability.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt;&amp;gt; &amp;gt; But if you know how to "simulate" quadruple precision in Matlab or&lt;br&gt;
&amp;gt; &amp;gt;&amp;gt; &amp;gt; Maple,&lt;br&gt;
&amp;gt; &amp;gt;&amp;gt; &amp;gt; or Mathematica, in order to see if an algorithm will overslow when&lt;br&gt;
&amp;gt; &amp;gt;&amp;gt; &amp;gt; converting into C/C++/Fortran, please let me know. I want to do the&lt;br&gt;
&amp;gt; &amp;gt;&amp;gt; &amp;gt; algorithm design in Matlab, and test if it will overflow, before&lt;br&gt;
&amp;gt; &amp;gt;&amp;gt; &amp;gt; converting everything into C/C++/Fortran.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt;&amp;gt; &amp;gt; If you know how to "simulate" quadruple precision in Matlab, Maple or&lt;br&gt;
&amp;gt; &amp;gt;&amp;gt; &amp;gt; Mathematica even with the symbolic toolbox, please let me know too...&lt;br&gt;
&amp;gt; &amp;gt;&amp;gt; &amp;gt; this&lt;br&gt;
&amp;gt; &amp;gt;&amp;gt; &amp;gt; is for algorithm design and testing...&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt;&amp;gt; &amp;gt; Moreover, are there popular quadruple precision packages? Please&lt;br&gt;
&amp;gt; &amp;gt;&amp;gt; &amp;gt; recommend&lt;br&gt;
&amp;gt; &amp;gt;&amp;gt; &amp;gt; the fastest one. I am really in huge need of speed.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt;&amp;gt; &amp;gt; Thank you very much!&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; In C++:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; long double x;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; You can tweak the compiler options for optimum speed on your&lt;br&gt;
&amp;gt; &amp;gt; particular CPU.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; -Le Chaud Lapin-&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I need 30 digits of precision digits. Will "long double" give me that?&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Thanks!&lt;br&gt;
&lt;br&gt;
I think you mean to ask for "multiple precision", not "quadruple"&lt;br&gt;
precision.&lt;br&gt;
&lt;br&gt;
In C++, one of the top dogs for speed is GMP.&lt;br&gt;
&lt;br&gt;
&lt;a href="http://gmplib.org/"&gt;http://gmplib.org/&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
To a C++ programmer, the naming using in the code might be&lt;br&gt;
surprising.  For example, if you are looking for the "big integer"&lt;br&gt;
class, don't expect it to be named "Integer" or anything like that.&lt;br&gt;
Same for floating-point.&lt;br&gt;
&lt;br&gt;
-Le Chaud Lapin-&lt;br&gt;
&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Thu, 09 Aug 2007 20:07:56 -0400</pubDate>
      <title>Re: Seeking numerical package for quadruple precision...</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/151496#387087</link>
      <author>carlos lopez</author>
      <description>"Vista" &amp;lt;abc@gmai.com&amp;gt; wrote in message&lt;br&gt;
&amp;lt;f6etbs$2of$1@news.Stanford.EDU&amp;gt;...&lt;br&gt;
&amp;gt; Hi all,&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I have some computation and simulation which need&lt;br&gt;
quadruple precision. I &lt;br&gt;
&amp;gt; mean, the double precision is not enough, while high&lt;br&gt;
precision such as 1000 &lt;br&gt;
&amp;gt; digits is not needed, and that's too slow. &lt;br&gt;
I agree with this&lt;br&gt;
&amp;gt; I guess quadruple precision exactly fits my problem and&lt;br&gt;
should be much faster than double precision.&lt;br&gt;
I disagree with this.&lt;br&gt;
However, you might want to consider other alternatives aside&lt;br&gt;
from "quadruple precision". From&lt;br&gt;
&lt;a href="http://crd.lbl.gov/~dhbailey/mpdist/"&gt;http://crd.lbl.gov/~dhbailey/mpdist/&lt;/a&gt; you can look at&lt;br&gt;
double-double precision, quad-double precision, etc. They&lt;br&gt;
manage to represent higher precision numbers with two or&lt;br&gt;
four ordinary double precision numbers.&lt;br&gt;
I knew of some ports of this stuff to the matlab environment.&lt;br&gt;
Regards&lt;br&gt;
Carlos &lt;br&gt;
&lt;br&gt;
</description>
    </item>
  </channel>
</rss>
