Mercurial > octave
view CITATION @ 28236:5bb1c0cbb27e
dec2bin.m: Allow negative number inputs (bug #58147).
* dec2bin.m: Document that negative numbers are converted according to 2's
complement convention. Add example to documentation of converting a
negative number. Add algorithm to detect negative inputs and add the
appropriate offset for 2's complement notation. Add BIST tests.
author | Nicholas R. Jankowski <jankowskin@asme.org> |
---|---|
date | Wed, 22 Apr 2020 15:53:51 -0700 |
parents | 534684fb7bd7 |
children | 844b3b9bab7a |
line wrap: on
line source
To cite GNU Octave in publications use: John W. Eaton, David Bateman, Søren Hauberg, Rik Wehbring (2019). GNU Octave version 5.2.0 manual: a high-level interactive language for numerical computations. URL https://www.gnu.org/software/octave/doc/v5.2.0/ A BibTeX entry for LaTeX users is: @manual{, title = {{GNU Octave} version 5.2.0 manual: a high-level interactive language for numerical computations}, author = {John W. Eaton and David Bateman and S{\o}ren Hauberg and Rik Wehbring}, year = {2020}, url = {https://www.gnu.org/software/octave/doc/v5.2.0/}, } We have invested a lot of time and effort in creating GNU Octave, please cite it when using it. See also 'citation pkgname' for citing Octave packages.