classicui_plat/ode_api/inc/lookup_tables.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 27 Apr 2010 16:55:05 +0300
branchRCL_3
changeset 18 0aa5fbdfbc30
parent 0 2f259fa3e83a
child 55 aecbbf00d063
permissions -rw-r--r--
Revision: 201015 Kit: 201017

/*
 *
 * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
 * All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without modification, 
 * are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice, 
 * this list of conditions and the following disclaimer.
 *
 * Redistributions in binary form must reproduce the above copyright notice, 
 * this list of conditions and the following disclaimer in the documentation
 * and/or other materials provided with the distribution.
 *
 * Neither the name of Nokia Corporation nor the names of its contributors
 * may be used to endorse or promote products derived from this software
 * without specific prior written permission.
 *
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
 * SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
 * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 *
 */

#ifndef LOOKUP_TABLES_H_
#define LOOKUP_TABLES_H_

#include <ode/config.h>

static const int64 sin_table[450] = {0,1143,2287,3429,4571,5711,6850,7986,9120,10252,11380,12504,13625,14742,15854,16961,18064,19160,20251,21336,22414,23485,24550,25606,26655,27696,28729,29752,30767,31772,32767,33753,34728,35693,36647,37589,38521,39440,40347,41243,42125,42995,43852,44695,45525,46340,47142,47929,48702,49460,50203,50931,51643,52339,53019,53683,54331,54963,55577,56175,56755,57319,57864,58392,58903,59395,59870,60326,60763,61183,61583,61965,62328,62672,62997,63302,63589,63856,64103,64331,64540,64729,64898,65047,65176,65286,65376,65446,65496,65526,65535,65526,65496,65446,65376,65286,65176,65047,64898,64729,64540,64331,64103,63856,63589,63302,62997,62672,62328,61965,61583,61183,60763,60326,59870,59395,58903,58393,57864,57319,56755,56175,55577,54963,54331,53684,53019,52339,51643,50931,50203,49460,48702,47930,47142,46341,45525,44695,43852,42995,42125,41243,40348,39440,38521,37590,36647,35693,34728,33753,32768,31772,30767,29752,28729,27696,26656,25607,24550,23486,22414,21336,20251,19161,18064,16962,15854,14742,13625,12505,11380,10252,9121,7986,6850,5712,4571,3430,2287,1143,0,-1143,-2286,-3429,-4571,-5711,-6850,-7986,-9120,-10251,-11380,-12504,-13625,-14742,-15854,-16961,-18063,-19160,-20251,-21336,-22414,-23485,-24550,-25606,-26655,-27696,-28728,-29752,-30767,-31772,-32767,-33753,-34728,-35693,-36647,-37589,-38520,-39440,-40347,-41242,-42125,-42995,-43851,-44695,-45524,-46340,-47142,-47929,-48702,-49460,-50203,-50930,-51642,-52339,-53019,-53683,-54331,-54962,-55577,-56175,-56755,-57318,-57864,-58392,-58903,-59395,-59870,-60326,-60763,-61183,-61583,-61965,-62328,-62672,-62997,-63302,-63589,-63856,-64103,-64331,-64540,-64729,-64898,-65047,-65176,-65286,-65376,-65446,-65496,-65526,-65535,-65526,-65496,-65446,-65376,-65286,-65177,-65047,-64898,-64729,-64540,-64331,-64103,-63856,-63589,-63302,-62997,-62672,-62328,-61965,-61583,-61183,-60764,-60326,-59870,-59395,-58903,-58393,-57864,-57319,-56755,-56175,-55577,-54963,-54331,-53684,-53019,-52339,-51643,-50931,-50203,-49460,-48702,-47930,-47142,-46341,-45525,-44695,-43852,-42995,-42125,-41243,-40348,-39440,-38521,-37590,-36647,-35693,-34729,-33753,-32768,-31772,-30767,-29753,-28729,-27697,-26656,-25607,-24550,-23486,-22414,-21336,-20252,-19161,-18064,-16962,-15854,-14742,-13626,-12505,-11380,-10252,-9121,-7987,-6850,-5712,-4571,-3430,-2287,-1144,0,1143,2286,3429,4571,5711,6850,7986,9120,10251,11379,12504,13625,14742,15854,16961,18063,19160,20251,21336,22414,23485,24549,25606,26655,27696,28728,29752,30766,31772,32767,33753,34728,35693,36646,37589,38520,39440,40347,41242,42125,42995,43851,44695,45524,46340,47142,47929,48702,49460,50203,50930,51642,52339,53019,53683,54331,54962,55577,56175,56755,57318,57864,58392,58903,59395,59869,60326,60763,61182,61583,61965,62328,62672,62997,63302,63589,63856,64103,64331,64540,64729,64898,65047,65176,65286,65376,65446,65496,65526};


#endif /*LOOKUP_TABLES_H_*/