Mercurial > octave
view test/mex/mexnumtst.tst @ 33608:5fba13104493 bytecode-interpreter tip
maint: merge default to bytecode-interpreter.
author | Nicholas R. Jankowski <jankowski.nicholas@gmail.com> |
---|---|
date | Sat, 18 May 2024 22:40:00 -0400 |
parents | 1188addabaad |
children |
line wrap: on
line source
%!test %! s = rand (3, 4, "single"); %! sc = s + i * rand (3, 4, "single"); %! d = rand (3, 4, "double"); %! dc = d + i * rand (3, 4, "double"); %! %! [sx, scx, dx, dcx] = mexnumtst (s, sc, d, dc); %! assert (s, sx) %! assert (sc, scx) %! assert (d, dx) %! assert (dc, dcx)