patchGNU Octave - Patches: patch #10264, doc: isequal/isequaln: details,...

 
 

patch #10264: doc: isequal/isequaln: details, examples and "gotchas"

Submitter:  Colin Macdonald <cbm>
Submitted:  Tue 12 Jul 2022 12:27:49 AM UTC
   
 
Category:  Core : other Priority:  3 - Low
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 12 Jul 2022 12:27:49 AM UTC, original submission:  
  • isequal: doctestable examples and explanation.
  • isequaln: doctestable example.


- - - -

@alexvong1995 and I got burned by `isequal([], '')` being true [1].  Add some docs to helpful someone else in the future.  These changes can be doctested using `doctest isequal` and `doctest isequaln`.

[1] https://octave.discourse.group/t/the-expression-isequal-evaluates-to-true/2911/3

Colin Macdonald <cbm>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #53419:  isequal_docs.patch added by cbm (2KiB - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by cbm (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 logged-in users can vote.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-07-12 cbm Attached File- Added isequal_docs.patch, #53419

    Back to the top

    Powered by Savane 3.14-f13d.
    Corresponding source code