atan2sp.h

Go to the documentation of this file.
00001 /* ======================================================================== *
00002  * MATHLIB -- TI Floating-Point Math Function Library                       *
00003  *                                                                          *
00004  *                                                                          *
00005  * Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/   *
00006  *                                                                          *
00007  *                                                                          *
00008  *  Redistribution and use in source and binary forms, with or without      *
00009  *  modification, are permitted provided that the following conditions      *
00010  *  are met:                                                                *
00011  *                                                                          *
00012  *    Redistributions of source code must retain the above copyright        *
00013  *    notice, this list of conditions and the following disclaimer.         *
00014  *                                                                          *
00015  *    Redistributions in binary form must reproduce the above copyright     *
00016  *    notice, this list of conditions and the following disclaimer in the   *
00017  *    documentation and/or other materials provided with the                *
00018  *    distribution.                                                         *
00019  *                                                                          *
00020  *    Neither the name of Texas Instruments Incorporated nor the names of   *
00021  *    its contributors may be used to endorse or promote products derived   *
00022  *    from this software without specific prior written permission.         *
00023  *                                                                          *
00024  *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS     *
00025  *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT       *
00026  *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR   *
00027  *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT    *
00028  *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,   *
00029  *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT        *
00030  *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,   *
00031  *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY   *
00032  *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT     *
00033  *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE   *
00034  *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.    *
00035  * ======================================================================== */
00036 
00037 /* ======================================================================= */
00038 /* atan2sp.h - single precision floating point arctangent two arguments    */
00039 /* ======================================================================= */
00040 
00041 #ifndef ATAN2SP_H_
00042 #define ATAN2SP_H_ 1
00043 
00044 #if defined (_TMS320C6600)
00045 #include <ti/mathlib/src/atan2sp/c66/atan2sp.h>
00046 #include <ti/mathlib/src/atan2sp/c66/atan2sp_i.h>
00047 #elif defined (_TMS320C6740)
00048 #include <ti/mathlib/src/atan2sp/c674/atan2sp.h>
00049 #include <ti/mathlib/src/atan2sp/c674/atan2sp_i.h>
00050 #else
00051 #error invalid target
00052 #endif
00053 
00054 /* Provide prototype for vector version */
00055 void atan2sp_v (const float a[], const float b[], float output[], int size);
00056 
00057 #endif /* ATAN2SP_H_ */
00058 
00059 /* ======================================================================== */
00060 /*  End of file: atan2sp.h                                                  */
00061 /* ======================================================================== */

Copyright 2016, Texas Instruments Incorporated