bugGNU Octave - Bugs: bug #63463, Should returns the number of b in a

 
 

bug #63463: Should returns the number of b in a

Submitter:  None
Submitted:  Sat 03 Dec 2022 06:32:39 PM UTC
   
 
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Invalid / Not an Octave Bug Assigned to:  None
Originator Name:  Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 7.3.0
Operating System:  * Microsoft Windows Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 03 Dec 2022 06:42:59 PM UTC, comment #1: 

This is probably the explanation for the result.

In Octave the `\` operators does left division, basically dividing the thing on the right by the thing on the left. So `1.4 \ 1` is the same as `1 / 1.4`.

Anonymous
Sat 03 Dec 2022 06:32:39 PM UTC, original submission:  

Is this a bug?


octave:1> 1.5 \ 1
ans = 0.6667
octave:2> 1.4 \ 1
ans = 0.7143


Correct would be 1.4 \ 1 = 1

See for explanation (MOD Discussion): https://qb64phoenix.com/forum/showthread.php?tid=1195&pid=11005#pid11005

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 jwe (Updated the item)
  • -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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-12-05 jwe CategoryOctave Package Interpreter
        StatusNone Invalid / Not an Octave Bug
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code