| 1 | /* ----------------------------------------------------------------------
|
|---|
| 2 | * Project: CMSIS DSP Library
|
|---|
| 3 | * Title: FastMathFunctions.c
|
|---|
| 4 | * Description: Combination of all fast math function source files.
|
|---|
| 5 | *
|
|---|
| 6 | * $Date: 16. March 2020
|
|---|
| 7 | * $Revision: V1.1.0
|
|---|
| 8 | *
|
|---|
| 9 | * Target Processor: Cortex-M cores
|
|---|
| 10 | * -------------------------------------------------------------------- */
|
|---|
| 11 | /*
|
|---|
| 12 | * Copyright (C) 2019-2020 ARM Limited or its affiliates. All rights reserved.
|
|---|
| 13 | *
|
|---|
| 14 | * SPDX-License-Identifier: Apache-2.0
|
|---|
| 15 | *
|
|---|
| 16 | * Licensed under the Apache License, Version 2.0 (the License); you may
|
|---|
| 17 | * not use this file except in compliance with the License.
|
|---|
| 18 | * You may obtain a copy of the License at
|
|---|
| 19 | *
|
|---|
| 20 | * www.apache.org/licenses/LICENSE-2.0
|
|---|
| 21 | *
|
|---|
| 22 | * Unless required by applicable law or agreed to in writing, software
|
|---|
| 23 | * distributed under the License is distributed on an AS IS BASIS, WITHOUT
|
|---|
| 24 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|---|
| 25 | * See the License for the specific language governing permissions and
|
|---|
| 26 | * limitations under the License.
|
|---|
| 27 | */
|
|---|
| 28 |
|
|---|
| 29 | #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_FAST_ALLOW_TABLES)
|
|---|
| 30 |
|
|---|
| 31 | #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FAST_TABLES) || defined(ARM_TABLE_SIN_F32)
|
|---|
| 32 | #include "arm_cos_f32.c"
|
|---|
| 33 | #endif
|
|---|
| 34 |
|
|---|
| 35 | #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FAST_TABLES) || defined(ARM_TABLE_SIN_Q15)
|
|---|
| 36 | #include "arm_cos_q15.c"
|
|---|
| 37 | #endif
|
|---|
| 38 |
|
|---|
| 39 | #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FAST_TABLES) || defined(ARM_TABLE_SIN_Q31)
|
|---|
| 40 | #include "arm_cos_q31.c"
|
|---|
| 41 | #endif
|
|---|
| 42 |
|
|---|
| 43 | #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FAST_TABLES) || defined(ARM_TABLE_SIN_F32)
|
|---|
| 44 | #include "arm_sin_f32.c"
|
|---|
| 45 | #endif
|
|---|
| 46 |
|
|---|
| 47 | #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FAST_TABLES) || defined(ARM_TABLE_SIN_Q15)
|
|---|
| 48 | #include "arm_sin_q15.c"
|
|---|
| 49 | #endif
|
|---|
| 50 |
|
|---|
| 51 | #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FAST_TABLES) || defined(ARM_TABLE_SIN_Q31)
|
|---|
| 52 | #include "arm_sin_q31.c"
|
|---|
| 53 | #endif
|
|---|
| 54 |
|
|---|
| 55 | #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FAST_TABLES) || defined(ARM_TABLE_SQRT_Q31)
|
|---|
| 56 | #include "arm_sqrt_q31.c"
|
|---|
| 57 | #endif
|
|---|
| 58 |
|
|---|
| 59 | #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FAST_TABLES) || defined(ARM_TABLE_SQRT_Q15)
|
|---|
| 60 | #include "arm_sqrt_q15.c"
|
|---|
| 61 | #endif
|
|---|
| 62 |
|
|---|
| 63 | #endif
|
|---|
| 64 |
|
|---|
| 65 | #include "arm_vexp_f32.c"
|
|---|
| 66 | #include "arm_vexp_f64.c"
|
|---|
| 67 | #include "arm_vlog_f32.c"
|
|---|
| 68 | #include "arm_vlog_f64.c"
|
|---|
| 69 | #include "arm_divide_q15.c"
|
|---|
| 70 | #include "arm_divide_q31.c"
|
|---|
| 71 | #include "arm_vlog_q31.c"
|
|---|
| 72 | #include "arm_vlog_q15.c"
|
|---|
| 73 | #include "arm_atan2_f32.c"
|
|---|
| 74 | #include "arm_atan2_q31.c"
|
|---|
| 75 | #include "arm_atan2_q15.c"
|
|---|