From e41da81b67128a8d29d8fd106e5b1ac53da16ecb Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=98yvind=20Kol=C3=A5s?= Date: Fri, 8 Nov 2019 13:54:15 +0100 Subject: [PATCH] babl: adjust default BABL_TOLERANCE This as a start of fixing issue #49, lower precision code gets generated on AMD EPYC, due to use of rcpps to get a reciprocal - which has lower precision on AMD EPYC. The conversions with AMD EPYC gets included with a small margin - so we should not be shedding many other fast conversions due to this. --- babl/babl-fish-path.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/babl/babl-fish-path.c b/babl/babl-fish-path.c index c8911d1..8d86e62 100644 --- a/babl/babl-fish-path.c +++ b/babl/babl-fish-path.c @@ -21,7 +21,7 @@ #include "babl-internal.h" #include "babl-ref-pixels.h" -#define BABL_TOLERANCE 0.0000047 +#define BABL_TOLERANCE 0.0000041 #define BABL_MAX_COST_VALUE 2000000 #define BABL_HARD_MAX_PATH_LENGTH 8 #define BABL_MAX_NAME_LEN 1024 -- 2.30.2