FastMathFunctions.c 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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. #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_FAST_ALLOW_TABLES)
  29. #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FAST_TABLES) || defined(ARM_TABLE_SIN_F32)
  30. #include "arm_cos_f32.c"
  31. #endif
  32. #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FAST_TABLES) || defined(ARM_TABLE_SIN_Q15)
  33. #include "arm_cos_q15.c"
  34. #endif
  35. #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FAST_TABLES) || defined(ARM_TABLE_SIN_Q31)
  36. #include "arm_cos_q31.c"
  37. #endif
  38. #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FAST_TABLES) || defined(ARM_TABLE_SIN_F32)
  39. #include "arm_sin_f32.c"
  40. #endif
  41. #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FAST_TABLES) || defined(ARM_TABLE_SIN_Q15)
  42. #include "arm_sin_q15.c"
  43. #endif
  44. #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FAST_TABLES) || defined(ARM_TABLE_SIN_Q31)
  45. #include "arm_sin_q31.c"
  46. #endif
  47. #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FAST_TABLES) || defined(ARM_TABLE_SQRT_Q31)
  48. #include "arm_sqrt_q31.c"
  49. #endif
  50. #if !defined(ARM_DSP_CONFIG_TABLES) || defined(ARM_ALL_FAST_TABLES) || defined(ARM_TABLE_SQRT_Q15)
  51. #include "arm_sqrt_q15.c"
  52. #endif
  53. #endif
  54. #include "arm_vexp_f32.c"
  55. #include "arm_vexp_f64.c"
  56. #include "arm_vlog_f32.c"
  57. #include "arm_vlog_f64.c"
  58. #include "arm_divide_q15.c"
  59. #include "arm_divide_q31.c"
  60. #include "arm_vlog_q31.c"
  61. #include "arm_vlog_q15.c"
  62. #include "arm_atan2_f32.c"
  63. #include "arm_atan2_q31.c"
  64. #include "arm_atan2_q15.c"