Mercurial > octave
changeset 32645:975f6d7fc3e6 bytecode-interpreter
maint: Merge default to bytecode-interpreter.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Sat, 23 Dec 2023 14:16:26 +0100 |
parents | 7d39cd2c2c2b (current diff) 60816c9cd277 (diff) |
children | 9faf6bc269a7 |
files | .github/workflows/make.yaml |
diffstat | 1 files changed, 8 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/corefcn/mappers.cc Fri Dec 22 16:24:36 2023 -0500 +++ b/libinterp/corefcn/mappers.cc Sat Dec 23 14:16:26 2023 +0100 @@ -786,8 +786,14 @@ ## backward - loss of accuracy %!assert (erfcinv (erfc ([-3 -1 -0.4 0.7 1.3 2.8])), %! [-3 -1 -0.4 0.7 1.3 2.8], -1e-12) -%!assert (erfcinv (erfc (single ([-3 -1 -0.4 0.7 1.3 2.8]))), -%! single ([-3 -1 -0.4 0.7 1.3 2.8]), -1e-4) +%!testif ; ! ispc () +%! assert (erfcinv (erfc (single ([-3 -1 -0.4 0.7 1.3 2.8]))), +%! single ([-3 -1 -0.4 0.7 1.3 2.8]), -1e-4) +%!testif ; ispc () <65075> +%! ## Same test code as above, but intended for test statistics with the UCRT. +%! ## The deviations are twice as high with it. +%! assert (erfcinv (erfc (single ([-3 -1 -0.4 0.7 1.3 2.8]))), +%! single ([-3 -1 -0.4 0.7 1.3 2.8]), -1e-4) ## exceptional %!assert (erfcinv ([2, 0, -0.1, 2.1]), [-Inf, Inf, NaN, NaN]) %!error erfcinv (1+2i)