aboutsummaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2023-02-09 12:14:32 +0100
committerMattias Andrée <maandree@kth.se>2023-02-09 12:14:32 +0100
commit470dbe42060c750ef3e2dcd4dba5bd9cb3589338 (patch)
treef71193f38190696f4c8c33698138bb98d047d97b /common.h
parentm (diff)
downloadlibrifunktionsteckensnittsglyfrasteriseringsprogrambiblioteket-master.tar.gz
librifunktionsteckensnittsglyfrasteriseringsprogrambiblioteket-master.tar.bz2
librifunktionsteckensnittsglyfrasteriseringsprogrambiblioteket-master.tar.xz
Fix and test line drawingHEADmaster
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'common.h')
-rw-r--r--common.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/common.h b/common.h
index 80f807c..1c589be 100644
--- a/common.h
+++ b/common.h
@@ -145,12 +145,6 @@ tolerant_eq(double a, double b)
return iszeroish((a - b) / 100.0);
}
-static inline int
-intolerant_eq(double a, double b)
-{
- return fabs(a - b) < 1e-11;
-}
-
# define ASSERT(ASSERTION)\
do {\
if (!(ASSERTION)) {\