Mercurial > octave
diff scripts/strings/dec2hex.m @ 29197:1a3cb2e1644a
dec2bin.m: Add docstring note about fractional input incompatibility (bug #59719).
* dec2bin.m: Add Known Matlab Incompatibility note about fractional input
handling.
* dec2hex.m: Use "into" instead of "in to" in docstring.
author | Nicholas R. Jankowski <jankowskin@asme.org> |
---|---|
date | Fri, 18 Dec 2020 15:23:00 -0500 |
parents | d8318c12d903 |
children | 7854d5752dd2 |
line wrap: on
line diff
--- a/scripts/strings/dec2hex.m Thu Dec 17 17:57:50 2020 -0800 +++ b/scripts/strings/dec2hex.m Fri Dec 18 15:23:00 2020 -0500 @@ -29,7 +29,8 @@ ## Return a string representing the conversion of the integer @var{d} to a ## hexadecimal (base16) number. ## -## If @var{d} is negative, return the two's complement binary value of @var{d}. +## If @var{d} is negative, return the hexadecimal equivalent of the two's +## complement binary value of @var{d}. ## If @var{d} is a matrix or cell array, return a string matrix with one row ## for each element in @var{d}, padded with leading zeros to the width of the ## largest value.