You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@plc4x.apache.org by "Christofer Dutz (Jira)" <ji...@apache.org> on 2020/10/29 21:35:00 UTC

[jira] [Created] (PLC4X-254) Handling of FLOAT and DOUBLE has issues with generated code

Christofer Dutz created PLC4X-254:
-------------------------------------

             Summary: Handling of FLOAT and DOUBLE has issues with generated code
                 Key: PLC4X-254
                 URL: https://issues.apache.org/jira/browse/PLC4X-254
             Project: Apache PLC4X
          Issue Type: Task
          Components: Code-Generation
    Affects Versions: 0.7.0
            Reporter: Christofer Dutz
             Fix For: 0.8.0


Currently the code generation still uses the Supplier-Based reading of floating-point values. This code seems to have issues with the value "0.0", which is displayed as an extremely small floating-point value.

When switching to ReadBuffer readFloat and readDouble implementation they seem to be causing errors.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)