Uploaded image for project: 'Tuscany'
  1. Tuscany
  2. TUSCANY-2439

Float / double loss of precision

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: C++ SDO
    • Labels:
      None

      Description

      When Tuscany converts floats or doubles to strings, in particular when it writes them to an XML document, there is serious loss of precision.

      This is because Tuscany uses a format string of %.3e or %.3Le, meaning it will use a maximum of three digits after the decimal point.

        Attachments

        1. Tuscany-2439-trunk.patch
          12 kB
          Caroline Maynard
        2. Tuscany-2439.patch
          9 kB
          Caroline Maynard

          Activity

            People

            • Assignee:
              adriano_crestani Adriano Crestani
              Reporter:
              cem Caroline Maynard
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: