From 33ce91b37062fa63af192f5643de93f3beebe854 Mon Sep 17 00:00:00 2001 From: JP Abgrall Date: Wed, 3 Oct 2012 20:16:57 -0700 Subject: MotionApps 5.1.1 release, with MA 5.1.0 for further merge review. 1. Removed all #ifdef in HAL's member APIs. 2. Added necessary comments as reference. 3. Made changes for coding style, optimization and so on per prior comments. 4. Now raw/calibrated gyroscope sensors could co-exist Default sensor would be calibrated gyroscope sensor for getDefaultSensor() call in Android. * Correctly handle onPower()/masterEnable(). * Use the support functions for reading/writing sysfs. 1 line instead of 9 all over the place. * Fix return code for {read,write}_sysfs_int(): was > 0 in case of failure instead of < 0. Bug: 7211625 Change-Id: Ib49dab8ca0f48f45a2838de72f4f8ac011d0e68f --- libsensors_iio/software/core/mllite/mlmath.c | 68 ---------------------------- 1 file changed, 68 deletions(-) delete mode 100644 libsensors_iio/software/core/mllite/mlmath.c (limited to 'libsensors_iio/software/core/mllite/mlmath.c') diff --git a/libsensors_iio/software/core/mllite/mlmath.c b/libsensors_iio/software/core/mllite/mlmath.c deleted file mode 100644 index 5eb4264..0000000 --- a/libsensors_iio/software/core/mllite/mlmath.c +++ /dev/null @@ -1,68 +0,0 @@ -/* - $License: - Copyright (C) 2011 InvenSense Corporation, All Rights Reserved. - See included License.txt for License information. - $ - */ -/******************************************************************************* - * - * $Id: mlmath.c 5629 2011-06-11 03:13:08Z mcaramello $ - * - *******************************************************************************/ - -#include - -double ml_asin(double x) -{ - return asin(x); -} - -double ml_atan(double x) -{ - return atan(x); -} - -double ml_atan2(double x, double y) -{ - return atan2(x, y); -} - -double ml_log(double x) -{ - return log(x); -} - -double ml_sqrt(double x) -{ - return sqrt(x); -} - -double ml_ceil(double x) -{ - return ceil(x); -} - -double ml_floor(double x) -{ - return floor(x); -} - -double ml_cos(double x) -{ - return cos(x); -} - -double ml_sin(double x) -{ - return sin(x); -} - -double ml_acos(double x) -{ - return acos(x); -} - -double ml_pow(double x, double y) -{ - return pow(x, y); -} -- cgit v1.2.3