Mercurial > octave
view test/bug-55758/bug-55758.tst @ 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 | 9080316864bf |
children | 332a6ccac881 |
line wrap: on
line source
%!test <*55758> %! global class_bug_55758_dtor_called %! class_bug_55758_dtor_called = false; %! %! assert (class_bug_55758 (5).value, 5); %! assert (class_bug_55758_dtor_called); %! %! assert (class_bug_55758 (5)(1), 5); %! assert (class_bug_55758_dtor_called); %! %! assert (size (class_bug_55758 (5)), [1, 1]); %! assert (class_bug_55758_dtor_called); %! %! assert (numel (class_bug_55758 (5)), 1); %! assert (class_bug_55758_dtor_called); %! clear -global class_bug_55758_dtor_called; # cleanup after test