comparison scripts/elfun/asech.m @ 29494:76269aa97398

if bug number is supplied, prefer '%!test' over '%!xtest' Files affected: dlmread.cc, file-io.cc, mappers.cc, pr-output.cc, strfns.cc, asech.m, importdata.m, gammainc.m, test.m, classdef.tst, io.tst, jit.tst, nest.tst.
author John W. Eaton <jwe@octave.org>
date Tue, 06 Apr 2021 10:47:40 -0400
parents 7854d5752dd2
children 9ed1cf9e446e 796f54d4ddbf
comparison
equal deleted inserted replaced
29493:de40b395b9c3 29494:76269aa97398
43 %!testif ; ! ismac () 43 %!testif ; ! ismac ()
44 %! v = [0, pi*i]; 44 %! v = [0, pi*i];
45 %! x = [1, -1]; 45 %! x = [1, -1];
46 %! assert (asech (x), v, sqrt (eps)); 46 %! assert (asech (x), v, sqrt (eps));
47 47
48 %!xtest <*52627> 48 %!test <*52627>
49 %! ## Same test code as above, but intended only for test statistics on Mac. 49 %! ## Same test code as above, but intended only for test statistics on Mac.
50 %! ## Mac trig/hyperbolic functions have huge tolerances. 50 %! ## Mac trig/hyperbolic functions have huge tolerances.
51 %! if (! ismac ()), return; endif 51 %! if (! ismac ()), return; endif
52 %! v = [0, pi*i]; 52 %! v = [0, pi*i];
53 %! x = [1, -1]; 53 %! x = [1, -1];