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

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

[Octave-bug-tracker] [bug #37402] sums to 1 involving decimals have odd


From: anonymous
Subject: [Octave-bug-tracker] [bug #37402] sums to 1 involving decimals have odd type behavior
Date: Wed, 19 Sep 2012 22:17:07 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.89 Safari/537.1

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

                 Summary: sums to 1 involving decimals have odd type behavior
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Wed 19 Sep 2012 10:17:06 PM UTC
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Inaccurate Result
                  Status: None
             Assigned to: None
         Originator Name: Sean Scott
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.6.1
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

Some expressions evaluate to an integer expression of 1; others do not.

For example,
x = .5+.4+.1 = 1
y = .2+.7+.1 = 1.00000
(y != 1) == FALSE





    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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