summaryrefslogtreecommitdiff
path: root/tests/test_cases/cflags/public/half.hpp
blob: 0baebcbf3e47ea0ce01dc54e60a62ee648032043 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef HALF_HPP
#define HALF_HPP

#ifdef HALF_PRECISION_DOUBLE
#define HALF_RESULT_TYPE double
#else
#define HALF_RESULT_TYPE int
#endif

HALF_RESULT_TYPE half(int val);

#endif