ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
limits.h
Go to the documentation of this file.
1 /* This file is part of the Vc library.
2 
3  Copyright (C) 2009 Matthias Kretz <kretz@kde.org>
4 
5  Vc is free software: you can redistribute it and/or modify
6  it under the terms of the GNU Lesser General Public License as
7  published by the Free Software Foundation, either version 3 of
8  the License, or (at your option) any later version.
9 
10  Vc is distributed in the hope that it will be useful, but
11  WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  GNU Lesser General Public License for more details.
14 
15  You should have received a copy of the GNU Lesser General Public
16  License along with Vc. If not, see <http://www.gnu.org/licenses/>.
17 
18 */
19 
20 #ifndef VC_SSE_LIMITS_H
21 #define VC_SSE_LIMITS_H
22 
23 #include "intrinsics.h"
24 #include "types.h"
25 #include "macros.h"
26 
27 namespace std
28 {
29 template<> struct numeric_limits< ::ROOT::Vc::SSE::ushort_v> : public numeric_limits<unsigned short>
30 {
40 };
41 template<> struct numeric_limits< ::ROOT::Vc::SSE::short_v> : public numeric_limits<short>
42 {
52 };
53 template<> struct numeric_limits< ::ROOT::Vc::SSE::uint_v> : public numeric_limits<unsigned int>
54 {
64 };
65 template<> struct numeric_limits< ::ROOT::Vc::SSE::int_v> : public numeric_limits<int>
66 {
76 };
77 } // namespace std
78 
79 #include "undomacros.h"
80 
81 #endif // VC_SSE_LIMITS_H
static Vc_INTRINSIC Vc_CONST::ROOT::Vc::SSE::uint_v max() _VC_NOEXCEPT
Definition: limits.h:55
static Vc_INTRINSIC Vc_CONST::ROOT::Vc::SSE::uint_v infinity() _VC_NOEXCEPT
Definition: limits.h:60
static Vc_INTRINSIC Vc_CONST::ROOT::Vc::SSE::uint_v lowest() _VC_NOEXCEPT
Definition: limits.h:57
static Vc_ALWAYS_INLINE int_v min(const int_v &x, const int_v &y)
Definition: vector.h:433
static Vc_INTRINSIC m128i Vc_CONST _mm_setallone_si128()
Definition: intrinsics.h:165
static Vc_INTRINSIC Vc_CONST::ROOT::Vc::SSE::ushort_v infinity() _VC_NOEXCEPT
Definition: limits.h:36
static Vc_INTRINSIC m128i Vc_CONST _mm_setmin_epi16()
Definition: intrinsics.h:207
static Vc_INTRINSIC m128i Vc_CONST _mm_setmin_epi32()
Definition: intrinsics.h:208
Vector< unsigned short > ushort_v
Definition: vector.h:422
static Vc_INTRINSIC Vc_CONST::ROOT::Vc::SSE::uint_v signaling_NaN() _VC_NOEXCEPT
Definition: limits.h:62
static Vc_INTRINSIC Vc_CONST::ROOT::Vc::SSE::int_v quiet_NaN() _VC_NOEXCEPT
Definition: limits.h:73
static Vc_INTRINSIC Vc_CONST::ROOT::Vc::SSE::uint_v round_error() _VC_NOEXCEPT
Definition: limits.h:59
Vector< short > short_v
Definition: vector.h:421
#define Vc_INTRINSIC
Definition: macros.h:139
static Vc_INTRINSIC Vc_CONST::ROOT::Vc::SSE::short_v quiet_NaN() _VC_NOEXCEPT
Definition: limits.h:49
static Vc_INTRINSIC Vc_CONST::ROOT::Vc::SSE::ushort_v lowest() _VC_NOEXCEPT
Definition: limits.h:33
static Vc_INTRINSIC Vc_CONST::ROOT::Vc::SSE::int_v round_error() _VC_NOEXCEPT
Definition: limits.h:71
static Vc_INTRINSIC Vc_CONST::ROOT::Vc::SSE::uint_v epsilon() _VC_NOEXCEPT
Definition: limits.h:58
static Vc_INTRINSIC Vc_CONST::ROOT::Vc::SSE::ushort_v min() _VC_NOEXCEPT
Definition: limits.h:32
static Vc_INTRINSIC __m128i Vc_CONST _mm_setallone_si128()
Definition: intrinsics.h:82
static Vc_INTRINSIC Vc_CONST::ROOT::Vc::SSE::short_v round_error() _VC_NOEXCEPT
Definition: limits.h:47
static Vc_INTRINSIC Vc_CONST::ROOT::Vc::SSE::int_v infinity() _VC_NOEXCEPT
Definition: limits.h:72
static Vc_INTRINSIC Vc_CONST::ROOT::Vc::SSE::int_v max() _VC_NOEXCEPT
Definition: limits.h:67
static Vc_INTRINSIC Vc_CONST::ROOT::Vc::SSE::ushort_v round_error() _VC_NOEXCEPT
Definition: limits.h:35
static Vc_INTRINSIC Vc_CONST::ROOT::Vc::SSE::short_v lowest() _VC_NOEXCEPT
Definition: limits.h:45
static Vc_INTRINSIC Vc_CONST::ROOT::Vc::SSE::int_v lowest() _VC_NOEXCEPT
Definition: limits.h:69
static Vc_INTRINSIC Vc_CONST::ROOT::Vc::SSE::ushort_v quiet_NaN() _VC_NOEXCEPT
Definition: limits.h:37
static Vc_INTRINSIC Vc_CONST::ROOT::Vc::SSE::ushort_v denorm_min() _VC_NOEXCEPT
Definition: limits.h:39
static Vc_INTRINSIC Vc_CONST::ROOT::Vc::SSE::int_v signaling_NaN() _VC_NOEXCEPT
Definition: limits.h:74
static Vc_INTRINSIC Vc_CONST::ROOT::Vc::SSE::uint_v denorm_min() _VC_NOEXCEPT
Definition: limits.h:63
static Vc_INTRINSIC Vc_CONST::ROOT::Vc::SSE::short_v signaling_NaN() _VC_NOEXCEPT
Definition: limits.h:50
#define _VC_NOEXCEPT
Definition: macros.h:162
static Vc_INTRINSIC Vc_CONST::ROOT::Vc::SSE::ushort_v max() _VC_NOEXCEPT
Definition: limits.h:31
Vector< unsigned int > uint_v
Definition: vector.h:420
static Vc_INTRINSIC Vc_CONST::ROOT::Vc::SSE::short_v denorm_min() _VC_NOEXCEPT
Definition: limits.h:51
static Vc_INTRINSIC Vc_CONST::ROOT::Vc::SSE::short_v max() _VC_NOEXCEPT
Definition: limits.h:43
static Vc_INTRINSIC Vc_CONST::ROOT::Vc::SSE::int_v min() _VC_NOEXCEPT
Definition: limits.h:68
static Vc_INTRINSIC Vc_CONST::ROOT::Vc::SSE::ushort_v epsilon() _VC_NOEXCEPT
Definition: limits.h:34
static Vc_INTRINSIC Vc_CONST::ROOT::Vc::SSE::uint_v min() _VC_NOEXCEPT
Definition: limits.h:56
static Vc_INTRINSIC Vc_CONST::ROOT::Vc::SSE::short_v infinity() _VC_NOEXCEPT
Definition: limits.h:48
static Vc_INTRINSIC Vc_CONST::ROOT::Vc::SSE::int_v epsilon() _VC_NOEXCEPT
Definition: limits.h:70
static Vc_INTRINSIC Vc_CONST::ROOT::Vc::SSE::short_v min() _VC_NOEXCEPT
Definition: limits.h:44
Vector< int > int_v
Definition: vector.h:419
static Vc_INTRINSIC Vc_CONST::ROOT::Vc::SSE::int_v denorm_min() _VC_NOEXCEPT
Definition: limits.h:75
static Vc_INTRINSIC Vc_CONST::ROOT::Vc::SSE::short_v epsilon() _VC_NOEXCEPT
Definition: limits.h:46
static Vc_INTRINSIC Vc_CONST::ROOT::Vc::SSE::ushort_v signaling_NaN() _VC_NOEXCEPT
Definition: limits.h:38
static Vc_INTRINSIC Vc_CONST::ROOT::Vc::SSE::uint_v quiet_NaN() _VC_NOEXCEPT
Definition: limits.h:61