From c1dffb7096394e0a4f3c1c1ab1515b410bed388a Mon Sep 17 00:00:00 2001 From: Jan Gorecki Date: Thu, 25 Apr 2019 22:44:12 +0200 Subject: [PATCH] exactness test only for x86_64 machines, closes #3491 (#3523) Signed-off-by: Elliott Sales de Andrade --- inst/tests/froll.Rraw | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inst/tests/froll.Rraw b/inst/tests/froll.Rraw index 62cfd259..789a54ca 100644 --- a/inst/tests/froll.Rraw +++ b/inst/tests/froll.Rraw @@ -126,7 +126,7 @@ anserr = list( errs = sapply(lapply(anserr, abs), sum, na.rm=TRUE) if (!(.Platform$OS.type=="windows" && getDTthreads()>1L)) { # windows 2+ threads rounding issue: #3346 test(9999.024, errs[["froll_exact"]]==0) - test(9999.025, errs[["froll_fast"]]>errs[["froll_exact"]]) + if (Sys.info()["machine"] == "x86_64") test(9999.025, errs[["froll_fast"]]>errs[["froll_exact"]]) # floating point arithmetic issue on various machines #3491 } test(9999.026, errs[["fastma"]]>errs[["froll_exact"]]) test(9999.027, errs[["fastma"]]>errs[["froll_fast"]]) -- 2.21.0