Jens Wiklander | 246184a | 2015-12-11 08:28:59 +0100 | [diff] [blame^] | 1 | /* |
| 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 | |
| 31 | double test_float_dadd(double a, double b); |
| 32 | double test_float_ddiv(double a, double b); |
| 33 | double test_float_dmul(double a, double b); |
| 34 | double test_float_drsub(double a, double b); |
| 35 | double test_float_dsub(double a, double b); |
| 36 | int test_float_dcmpeq(double a, double b); |
| 37 | int test_float_dcmplt(double a, double b); |
| 38 | int test_float_dcmple(double a, double b); |
| 39 | int test_float_dcmpge(double a, double b); |
| 40 | int test_float_dcmpgt(double a, double b); |
| 41 | float test_float_fadd(float a, float b); |
| 42 | float test_float_fdiv(float a, float b); |
| 43 | float test_float_fmul(float a, float b); |
| 44 | float test_float_frsub(float a, float b); |
| 45 | float test_float_fsub(float a, float b); |
| 46 | int test_float_fcmpeq(float a, float b); |
| 47 | int test_float_fcmplt(float a, float b); |
| 48 | int test_float_fcmple(float a, float b); |
| 49 | int test_float_fcmpge(float a, float b); |
| 50 | int test_float_fcmpgt(float a, float b); |
| 51 | int test_float_d2iz(double a); |
| 52 | unsigned test_float_d2uiz(double a); |
| 53 | long long test_float_d2lz(double a); |
| 54 | unsigned long long test_float_d2ulz(double a); |
| 55 | int test_float_f2iz(float a); |
| 56 | unsigned test_float_f2uiz(float a); |
| 57 | long long test_float_f2lz(float a); |
| 58 | unsigned long long test_float_f2ulz(float a); |
| 59 | float test_float_d2f(double a); |
| 60 | double test_float_f2d(float a); |
| 61 | double test_float_i2d(int a); |
| 62 | double test_float_ui2d(unsigned a); |
| 63 | double test_float_l2d(long long a); |
| 64 | double test_float_ul2d(unsigned long long a); |
| 65 | float test_float_i2f(int a); |
| 66 | float test_float_ui2f(unsigned a); |
| 67 | float test_float_l2f(long long a); |
| 68 | float test_float_ul2f(unsigned long long a); |
| 69 | |
| 70 | #endif /*TEST_FLOAT_SUBJ_H*/ |