bugGNU Octave - Bugs: bug #50334, number literals 0b, 0x not...

 
 

bug #50334: number literals 0b, 0x not mentioned in the documentation

Submitted by:  Ernst Reissner <ernstreissner>
Submitted on:  Fri 17 Feb 2017 09:07:14 AM UTC  
 
Category: DocumentationSeverity: 3 - Normal
Priority: 3 - LowItem Group: Documentation
Status: FixedAssigned to: Kai Torben Ohlhus <siko1056>
Originator Name: Ernst ReissnerOpen/Closed: Closed
Release: 4.2.0Operating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission Jump to the original submission)

Mon 20 Feb 2017 04:44:25 PM UTC, comment #7:

@Rik: thank you very much for the quick fix.

Pushed: http://hg.savannah.gnu.org/hgweb/octave/rev/0881e1671490.

Closing this item.

Kai Torben Ohlhus <siko1056>
Project MemberIn charge of this item.
Mon 20 Feb 2017 06:02:04 AM UTC, comment #6:

I fixed the problem with the parser and incorrect interpretation of binary complex numbers here (http://hg.savannah.gnu.org/hgweb/octave/rev/08042580fe93).

Rik <rik5>
Project Administrator
Mon 20 Feb 2017 12:22:40 AM UTC, comment #5:

Indeed, but this is really another bug.

Your text is good, I think we shall push it in that form.

Ernst Reissner <ernstreissner>
Sun 19 Feb 2017 05:13:31 PM UTC, comment #4:

Kai - yes, looks like a bug to me. I think the parser is only counting ones in the string, so the trailing "i" or "j" is seen as an additional bit.

Mike Miller <mtmiller>
Project Administrator
Sun 19 Feb 2017 02:15:35 PM UTC, comment #3:

Thank you for your patch. I reviewed your text (file #39788) and made some clarifications from my point of view. If you agree or propose a 2nd review, I can push your changes.

I noticed maybe another bug. Can you confirm:

Not as expected:

To open another bug report?

Kai Torben Ohlhus <siko1056>
Project MemberIn charge of this item.
Sat 18 Feb 2017 09:25:13 PM UTC, comment #2:

I submitted a fix for this bug and also for 50305.
Hope this is ok.

(file #39784)

Ernst Reissner <ernstreissner>
Fri 17 Feb 2017 01:36:21 PM UTC, comment #1:

Thanks for the report. This should be treated together with bug #50305.

@Ernst Reissner: Would you like to find a suitable place in the manual https://www.gnu.org/software/octave/doc/interpreter/ and think about a good documentation of the features?

Kai Torben Ohlhus <siko1056>
Project MemberIn charge of this item.
Fri 17 Feb 2017 09:07:14 AM UTC, original submission:

in 4.2.0 number literals like 0b1001 for binary representation
and 0xFF for hex representation are added but still not documented.

Ernst Reissner <ernstreissner>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rik5 (Updated the item)
  • -unavailable- added by mtmiller (Posted a comment)
  • -unavailable- added by siko1056 (Posted a comment)
  • -unavailable- added by ernstreissner (Submitted the item)
  • -unavailable- added by ernstreissner
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 12 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 20 Feb 2017 04:44:25 PM UTCsiko1056StatusPatch Submitted=>Fixed
      Open/ClosedOpen=>Closed
    Mon 20 Feb 2017 05:14:27 AM UTCrik5Summarynumber literals 0b, 0x not mentioned in the docus=>number literals 0b, 0x not mentioned in the documentation
    Sun 19 Feb 2017 02:13:26 PM UTCsiko1056Attached File-=>Added bugs50305_50334_review1.patch, #39788
    Sun 19 Feb 2017 01:00:51 AM UTCsiko1056StatusConfirmed=>Patch Submitted
      Assigned toNone=>siko1056
    Sat 18 Feb 2017 09:25:13 PM UTCernstreissnerAttached File-=>Added bugs50305_50334.patch, #39784
    Fri 17 Feb 2017 01:36:21 PM UTCsiko1056Priority5 - Normal=>3 - Low
      Item GroupNone=>Documentation
      StatusNone=>Confirmed
      Dependencies-=>Depends on bugs #50305
    Fri 17 Feb 2017 09:07:14 AM UTCernstreissnerCarbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup1