<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Real value - FPU underfllow</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/1c4a961fca/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/1c4a961fca/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/1c4a961fca/</id><updated>2020-02-27T14:05:03.154000Z</updated><subtitle>Recent posts to Real value - FPU underfllow</subtitle><entry><title>Real value - FPU underfllow</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/1c4a961fca/?limit=25#da6d" rel="alternate"/><published>2020-02-27T14:05:03.154000Z</published><updated>2020-02-27T14:05:03.154000Z</updated><author><name>donici</name><uri>https://forge.codesys.com/u/donici/</uri></author><id>https://forge.codesys.come9fefc1af67e74eeabaa2421ebaf6823f2c658ba</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello!&lt;/p&gt;
&lt;p&gt;I thing I detected a bug regarding the REAL values.&lt;br/&gt;
The transfer single precision IEE754 REAL values with the binary Exponent equal to 0 are triggering a FPU underflow exception.&lt;/p&gt;
&lt;p&gt;VAR&lt;br/&gt;
  rReal1: REAL;&lt;br/&gt;
END_VAR&lt;/p&gt;
&lt;p&gt;rReal1:=1.18E-38;     //it works                               0b0&lt;strong&gt;00000001&lt;/strong&gt;00000000111110110011001&lt;br/&gt;
rReal1:=1.17E-38;     //it generates the exception      0b0&lt;strong&gt;00000000&lt;/strong&gt;11111110110011011010111&lt;/p&gt;
&lt;p&gt;Where could be the problem?&lt;/p&gt;
&lt;p&gt;I'm using Codesys V3.5 SP3 Patch 3 with an IDS ACOS750 device.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>