octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #44272] dlmwrite makes inaccurate floating poi


From: anonymous
Subject: [Octave-bug-tracker] [bug #44272] dlmwrite makes inaccurate floating point conversions
Date: Mon, 16 Feb 2015 12:01:47 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0

URL:
  <http://savannah.gnu.org/bugs/?44272>

                 Summary: dlmwrite makes inaccurate floating point conversions
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Mon 16 Feb 2015 12:01:46 UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Inaccurate Result
                  Status: None
             Assigned to: None
         Originator Name: Lars
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.8.1
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Hello,


dlmwrite("test.csv", 66.594)


results in "66.59399999999999"

I suspect their is an inaccuracy in floating point conversion. There are
several specific floating point numbers with the same issue.

Operating system:
ubuntu 14.04, 64-bit



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Mon 16 Feb 2015 12:01:46 UTC  Name: test.csv  Size: 18B   By: None

<http://savannah.gnu.org/bugs/download.php?file_id=33101>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?44272>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]