Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751069AbWEZQfP (ORCPT ); Fri, 26 May 2006 12:35:15 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751099AbWEZQel (ORCPT ); Fri, 26 May 2006 12:34:41 -0400 Received: from pne-smtpout3-sn2.hy.skanova.net ([81.228.8.111]:55547 "EHLO pne-smtpout3-sn2.hy.skanova.net") by vger.kernel.org with ESMTP id S1751050AbWEZQ3P (ORCPT ); Fri, 26 May 2006 12:29:15 -0400 Message-Id: <20060526162901.463431000@gmail.com> References: <20060526161129.557416000@gmail.com> User-Agent: quilt/0.44-1 Date: Fri, 26 May 2006 19:11:31 +0300 From: Anssi Hannula To: Dmitry Torokhov Cc: linux-joystick@atrey.karlin.mff.cuni.cz, linux-kernel@vger.kernel.org Subject: [patch 02/13] input: fix accuracy of fixp-arith.h Content-Disposition: inline; filename=ff-refactoring-fixp-arith-accuracy.diff Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1647 Lines: 46 Add the value of cos(90) = 0 to the table. This also moves the results so that sin(x) == sin(180-x) is true as expected. Signed-off-by: Anssi Hannula --- drivers/input/fixp-arith.h | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) Index: linux-2.6.16-git20/drivers/input/fixp-arith.h =================================================================== --- linux-2.6.16-git20.orig/drivers/input/fixp-arith.h 2006-04-10 21:02:50.000000000 +0300 +++ linux-2.6.16-git20/drivers/input/fixp-arith.h 2006-04-10 21:03:45.000000000 +0300 @@ -38,13 +38,13 @@ typedef s16 fixp_t; #define FRAC_MASK ((1<>= 1; -- Anssi Hannula - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/