blob: cfddae84ed792bf95177b7b5a1ad17e95a35888a [file] [log] [blame]
Jens Wiklander246184a2015-12-11 08:28:59 +01001/*
2 * Copyright (c) 2015, Linaro Limited
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are met:
7 *
8 * 1. Redistributions of source code must retain the above copyright notice,
9 * this list of conditions and the following disclaimer.
10 *
11 * 2. Redistributions in binary form must reproduce the above copyright notice,
12 * this list of conditions and the following disclaimer in the documentation
13 * and/or other materials provided with the distribution.
14 *
15 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
16 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
19 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
20 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
21 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
22 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
23 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
24 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
25 * POSSIBILITY OF SUCH DAMAGE.
26 */
27
28#ifndef TEST_FLOAT_SUBJ_H
29#define TEST_FLOAT_SUBJ_H
30
31double test_float_dadd(double a, double b);
32double test_float_ddiv(double a, double b);
33double test_float_dmul(double a, double b);
34double test_float_drsub(double a, double b);
35double test_float_dsub(double a, double b);
36int test_float_dcmpeq(double a, double b);
37int test_float_dcmplt(double a, double b);
38int test_float_dcmple(double a, double b);
39int test_float_dcmpge(double a, double b);
40int test_float_dcmpgt(double a, double b);
41float test_float_fadd(float a, float b);
42float test_float_fdiv(float a, float b);
43float test_float_fmul(float a, float b);
44float test_float_frsub(float a, float b);
45float test_float_fsub(float a, float b);
46int test_float_fcmpeq(float a, float b);
47int test_float_fcmplt(float a, float b);
48int test_float_fcmple(float a, float b);
49int test_float_fcmpge(float a, float b);
50int test_float_fcmpgt(float a, float b);
51int test_float_d2iz(double a);
52unsigned test_float_d2uiz(double a);
53long long test_float_d2lz(double a);
54unsigned long long test_float_d2ulz(double a);
55int test_float_f2iz(float a);
56unsigned test_float_f2uiz(float a);
57long long test_float_f2lz(float a);
58unsigned long long test_float_f2ulz(float a);
59float test_float_d2f(double a);
60double test_float_f2d(float a);
61double test_float_i2d(int a);
62double test_float_ui2d(unsigned a);
63double test_float_l2d(long long a);
64double test_float_ul2d(unsigned long long a);
65float test_float_i2f(int a);
66float test_float_ui2f(unsigned a);
67float test_float_l2f(long long a);
68float test_float_ul2f(unsigned long long a);
69
70#endif /*TEST_FLOAT_SUBJ_H*/