view test/nest/nst1.m @ 31239:dd6b37f67db2

Accept negative inputs to -2^63 for dec2bin and dec2hex (bug #63089) dec2bin.m: Accept negative inputs lower than -flintmax down to -2^63 Return 64-bit string in certain cases for Matlab compatibility Activate BISTs commented out earlier dec2hex.m: Remove repeated code and call dec2bin instead Accept negative inputs lower than -flintmax down to -2^63 Update and activate BISTs commented out earlier
author Arun Giridhar <arungiridhar@gmail.com>
date Sun, 25 Sep 2022 06:22:25 -0400
parents 6e9034836239
children
line wrap: on
line source

function fh = nst1 (xval)
  if (nargin > 0)
    x = xval;
  end
  fh = @nst;
  function r = nst (xval)
    if (nargin > 0)
      x = xval;
    end
    r = x;
  end
end