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

Float / double loss of precision

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • C++ SDO
    • 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.patch
          9 kB
          Caroline Maynard
        2. Tuscany-2439-trunk.patch
          12 kB
          Caroline Maynard

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: