• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Data used in single-precision sin(x) function.
3  *
4  * Copyright (c) 2019-2023, Arm Limited.
5  * SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception
6  */
7 
8 #include "math_config.h"
9 
10 /* Polynomial coefficients for approximating sin(x) in single
11    precision. These are the non-zero coefficients from the
12    degree 9 Taylor series expansion of sin.  */
13 
14 const struct sv_sinf_data __sv_sinf_data = {.coeffs = {
15 					      0x1.5b2e76p-19f,
16 					      -0x1.9f42eap-13f,
17 					      0x1.110df4p-7f,
18 					      -0x1.555548p-3f,
19 					    }};
20