xref: /aosp_15_r20/external/arm-optimized-routines/math/test/rtest/semi.h (revision 412f47f9e737e10ed5cc46ec6a8d7fa2264f8a14)
1*412f47f9SXin Li /*
2*412f47f9SXin Li  * semi.h: header for semi.c
3*412f47f9SXin Li  *
4*412f47f9SXin Li  * Copyright (c) 1999-2019, Arm Limited.
5*412f47f9SXin Li  * SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception
6*412f47f9SXin Li  */
7*412f47f9SXin Li 
8*412f47f9SXin Li #ifndef test_semi_h
9*412f47f9SXin Li #define test_semi_h
10*412f47f9SXin Li 
11*412f47f9SXin Li #include "types.h"
12*412f47f9SXin Li 
13*412f47f9SXin Li char *test_ceil(uint32 *in, uint32 *out);
14*412f47f9SXin Li char *test_floor(uint32 *in, uint32 *out);
15*412f47f9SXin Li char *test_fmod(uint32 *a, uint32 *b, uint32 *out);
16*412f47f9SXin Li char *test_ldexp(uint32 *x, uint32 *n, uint32 *out);
17*412f47f9SXin Li char *test_frexp(uint32 *x, uint32 *out, uint32 *nout);
18*412f47f9SXin Li char *test_modf(uint32 *x, uint32 *iout, uint32 *fout);
19*412f47f9SXin Li char *test_ceilf(uint32 *in, uint32 *out);
20*412f47f9SXin Li char *test_floorf(uint32 *in, uint32 *out);
21*412f47f9SXin Li char *test_fmodf(uint32 *a, uint32 *b, uint32 *out);
22*412f47f9SXin Li char *test_ldexpf(uint32 *x, uint32 *n, uint32 *out);
23*412f47f9SXin Li char *test_frexpf(uint32 *x, uint32 *out, uint32 *nout);
24*412f47f9SXin Li char *test_modff(uint32 *x, uint32 *iout, uint32 *fout);
25*412f47f9SXin Li 
26*412f47f9SXin Li char *test_copysign(uint32 *x, uint32 *y, uint32 *out);
27*412f47f9SXin Li char *test_copysignf(uint32 *x, uint32 *y, uint32 *out);
28*412f47f9SXin Li char *test_isfinite(uint32 *x, uint32 *out);
29*412f47f9SXin Li char *test_isfinitef(uint32 *x, uint32 *out);
30*412f47f9SXin Li char *test_isinf(uint32 *x, uint32 *out);
31*412f47f9SXin Li char *test_isinff(uint32 *x, uint32 *out);
32*412f47f9SXin Li char *test_isnan(uint32 *x, uint32 *out);
33*412f47f9SXin Li char *test_isnanf(uint32 *x, uint32 *out);
34*412f47f9SXin Li char *test_isnormal(uint32 *x, uint32 *out);
35*412f47f9SXin Li char *test_isnormalf(uint32 *x, uint32 *out);
36*412f47f9SXin Li char *test_signbit(uint32 *x, uint32 *out);
37*412f47f9SXin Li char *test_signbitf(uint32 *x, uint32 *out);
38*412f47f9SXin Li char *test_fpclassify(uint32 *x, uint32 *out);
39*412f47f9SXin Li char *test_fpclassifyf(uint32 *x, uint32 *out);
40*412f47f9SXin Li 
41*412f47f9SXin Li char *test_isgreater(uint32 *x, uint32 *y, uint32 *out);
42*412f47f9SXin Li char *test_isgreaterequal(uint32 *x, uint32 *y, uint32 *out);
43*412f47f9SXin Li char *test_isless(uint32 *x, uint32 *y, uint32 *out);
44*412f47f9SXin Li char *test_islessequal(uint32 *x, uint32 *y, uint32 *out);
45*412f47f9SXin Li char *test_islessgreater(uint32 *x, uint32 *y, uint32 *out);
46*412f47f9SXin Li char *test_isunordered(uint32 *x, uint32 *y, uint32 *out);
47*412f47f9SXin Li char *test_isgreaterf(uint32 *x, uint32 *y, uint32 *out);
48*412f47f9SXin Li char *test_isgreaterequalf(uint32 *x, uint32 *y, uint32 *out);
49*412f47f9SXin Li char *test_islessf(uint32 *x, uint32 *y, uint32 *out);
50*412f47f9SXin Li char *test_islessequalf(uint32 *x, uint32 *y, uint32 *out);
51*412f47f9SXin Li char *test_islessgreaterf(uint32 *x, uint32 *y, uint32 *out);
52*412f47f9SXin Li char *test_isunorderedf(uint32 *x, uint32 *y, uint32 *out);
53*412f47f9SXin Li #endif
54