bugGNU Octave - Bugs: bug #37402, sums to 1 involving decimals have...

 
 

bug #37402: sums to 1 involving decimals have odd type behavior

Submitter:  None
Submitted:  Wed 19 Sep 2012 10:17:06 PM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Inaccurate Result
Status:  Invalid / Not an Octave Bug Assigned to:  None
Originator Name:  Sean Scott Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 3.6.1
Operating System:  * Microsoft Windows Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 20 Sep 2012 01:43:07 PM UTC, comment #1: 
Jordi GutiƩrrez Hermoso <jordigh>
Group Member
Wed 19 Sep 2012 10:17:06 PM UTC, original submission:  

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

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jordigh (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-09-20 jordigh StatusNone Invalid / Not an Octave Bug
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code