From 7390e8c43444113d778b47a4a5ed50d41cd7b64d Mon Sep 17 00:00:00 2001 From: Petr Baudis Date: Mon, 5 Jul 2010 02:55:16 +0200 Subject: [PATCH] double_to_fixp(): Eschew nearbyint() - a major performance hog --- fixp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fixp.h b/fixp.h index 0e27576..9b5a0f1 100644 --- a/fixp.h +++ b/fixp.h @@ -17,7 +17,7 @@ typedef uint_fast32_t fixp_t; #define FIXP_SCALE (1<