Skip to content

High precision floating point literal values are not preserved exactly. #3

Description

@mbdevpl

E.g. Fortran sqhalf = 0.7071067811865475244 becomes sqhalf = 0.7071067811865476 after transpiling.

The differences come from the not sufficient number of bits used to store the literals. This might not matter in some cases, but in other cases it might cause trouble.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions