<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic IPP's Rounding Off Results is Not Consistent in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-s-Rounding-Off-Results-is-Not-Consistent/m-p/813806#M4096</link>
    <description>Many thanks Igor</description>
    <pubDate>Thu, 09 Feb 2012 12:15:50 GMT</pubDate>
    <dc:creator>OKohl</dc:creator>
    <dc:date>2012-02-09T12:15:50Z</dc:date>
    <item>
      <title>IPP's Rounding Off Results is Not Consistent</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-s-Rounding-Off-Results-is-Not-Consistent/m-p/813804#M4094</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I'm puzzled by an apparently inconsistencyin IPP's rounding off results:&lt;BR /&gt;In the first example the real result is 2.5 and IPP rounds it off to 2.&lt;BR /&gt;In the second example the real result is 93.5 and IPP rounds it off to 94.&lt;BR /&gt;Why is the 0.5 result sometimes rounded up and sometimes down?&lt;BR /&gt;&lt;BR /&gt;e.g.&lt;BR /&gt;&lt;BR /&gt;I'm using multiply by constant function with scaling 7 , in two cases:&lt;BR /&gt;(I'm giving an example for a single pixel result)&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;ippiMulC_16s_C1RSfs(Coeficient, ImagePtr, ImageBytesStep, RoiWork, 7);&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;A) Coeficient = 2, Image Pixel = 160&lt;BR /&gt; &lt;BR /&gt; Result pixel is : 2 x 160 Scaled by 2^7 =&amp;gt; &lt;STRONG&gt;2.5&lt;/STRONG&gt; =&amp;gt; IPP rounds the result to &lt;STRONG&gt;2&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;B) Coeficient = 44, Image Pixel = 272&lt;BR /&gt; &lt;BR /&gt; Result pixel is :44 x272 Scaled by 2^7 =&amp;gt;&lt;STRONG&gt;93.5&lt;/STRONG&gt; =&amp;gt; IPP rounds the result to&lt;STRONG&gt;94&lt;/STRONG&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;Thanks in advance &lt;BR /&gt;Offir</description>
      <pubDate>Wed, 08 Feb 2012 11:55:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-s-Rounding-Off-Results-is-Not-Consistent/m-p/813804#M4094</guid>
      <dc:creator>OKohl</dc:creator>
      <dc:date>2012-02-08T11:55:36Z</dc:date>
    </item>
    <item>
      <title>IPP's Rounding Off Results is Not Consistent</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-s-Rounding-Off-Results-is-Not-Consistent/m-p/813805#M4095</link>
      <description>Hi Offir,&lt;BR /&gt;&lt;BR /&gt;IPP provides the same behavior as HW provides by default - and it's mentioned in ippsmanual - all IPP functions by default round FP result to the nearest-even in order to provide more uniform distribution of results. So called "accounting" rounding (when 0.5 is always rounded up) is not uniform as results are always slightly shifted up.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Igor</description>
      <pubDate>Thu, 09 Feb 2012 08:16:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-s-Rounding-Off-Results-is-Not-Consistent/m-p/813805#M4095</guid>
      <dc:creator>igorastakhov</dc:creator>
      <dc:date>2012-02-09T08:16:32Z</dc:date>
    </item>
    <item>
      <title>IPP's Rounding Off Results is Not Consistent</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-s-Rounding-Off-Results-is-Not-Consistent/m-p/813806#M4096</link>
      <description>Many thanks Igor</description>
      <pubDate>Thu, 09 Feb 2012 12:15:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/IPP-s-Rounding-Off-Results-is-Not-Consistent/m-p/813806#M4096</guid>
      <dc:creator>OKohl</dc:creator>
      <dc:date>2012-02-09T12:15:50Z</dc:date>
    </item>
  </channel>
</rss>

