<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
  <channel>
    <title>MaplePrimes - comments on Post, Numerical Precision</title>
    <link>http://www.mapleprimes.com/posts/39188-Numerical-Precision</link>
    <language>en-us</language>
    <copyright>2026 Maplesoft, A Division of Waterloo Maple Inc.</copyright>
    <generator>Maplesoft Document System</generator>
    <lastBuildDate>Fri, 12 Jun 2026 10:50:23 GMT</lastBuildDate>
    <pubDate>Fri, 12 Jun 2026 10:50:23 GMT</pubDate>
    <itunes:subtitle />
    <itunes:summary />
    <description>The latest comments added to the Post, Numerical Precision</description>
    <image>
      <url>http://www.mapleprimes.com/images/mapleprimeswhite.jpg</url>
      <title>MaplePrimes - comments on Post, Numerical Precision</title>
      <link>http://www.mapleprimes.com/posts/39188-Numerical-Precision</link>
    </image>
    <item>
      <title>datatype=float[8]</title>
      <link>http://www.mapleprimes.com/posts/39188-Numerical-Precision?ref=Feed:MaplePrimes:Numerical Precision:Comments#comment71159</link>
      <itunes:summary>&lt;p&gt;To create Matrices and Vectors with double precision real (C double) entries, stored in contiguous memory arrays, use the option datatype=float[8] when calling the Matrix and Vector constructors. And similarly use complex[8] for paired hardware doubles representing complex entries.&lt;/p&gt;
&lt;p&gt;To ensure that the LinearAlgebra operations with these float[8] Matrices and Vectors always is done using hardware double precision external libraries (and not with arbitrary precision software float external libraries) then do the following:&lt;/p&gt;
&lt;ul&gt;
    &lt;li&gt;set UseHardwareFloats:=true;&lt;/li&gt;
    &lt;li&gt;(or) keep Digits less than evalhf(Digits)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;You might also try setting infolevel[LinearAlgebra]:=2 since that will allow LinearAlgebra commands to print additional information about which external routine is being used, and about whether copying from hardware to software datatypes is taking place. (The external function hw_f06ecf is hardware BLAS function daxpy, for example, while sw_f06ecf is the software float equivalent. The hw_ or sw_ prefix which can appear in this printed information is thus a key.)&lt;/p&gt;
&lt;p&gt;The &lt;b&gt;option hfloat&lt;/b&gt; switch for a procedure does &lt;i&gt;not&lt;/i&gt; accomplish the items above. That is to say, it does &lt;i&gt;not&lt;/i&gt; enable float[8] Matrix and Vector construction without the explicit datatype options being provided, it does &lt;i&gt;not &lt;/i&gt;enforce use of hardware external libraries, and it does &lt;i&gt;not&lt;/i&gt; prevent internal software float Matrix/Vector copying.&lt;/p&gt;
&lt;p&gt;Instead, the hfloat option of a procedure affects scalars. It toggles the automatic creation of scalar floats as HFloat objects, and it toggles the retrieval of scalar entries from float[8] Matrices and Vectors also to be HFloat objects.&lt;/p&gt;
&lt;p&gt;acer&lt;/p&gt;</itunes:summary>
      <description>The latest comments added to the Post, Numerical Precision</description>
      <guid>71159</guid>
      <pubDate>Tue, 10 Jun 2008 20:59:08 Z</pubDate>
      <itunes:author>acer</itunes:author>
      <author>acer</author>
    </item>
    <item>
      <title>Brilliant, thanks very much!</title>
      <link>http://www.mapleprimes.com/posts/39188-Numerical-Precision?ref=Feed:MaplePrimes:Numerical Precision:Comments#comment83372</link>
      <itunes:summary>&lt;p&gt;Brilliant, thanks very much!&lt;/p&gt;</itunes:summary>
      <description>The latest comments added to the Post, Numerical Precision</description>
      <guid>83372</guid>
      <pubDate>Wed, 11 Jun 2008 15:45:40 Z</pubDate>
      <itunes:author>py9mrg</itunes:author>
      <author>py9mrg</author>
    </item>
  </channel>
</rss>