Elements
5.8
A C++ base framework for the Euclid Software.
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
ElementsKernel
ElementsKernel
Likely.h
Go to the documentation of this file.
1
26
#ifndef ELEMENTSKERNEL_ELEMENTSKERNEL_LIKELY_H_
27
#define ELEMENTSKERNEL_ELEMENTSKERNEL_LIKELY_H_
28
37
#ifdef __GNUC__
38
# define LIKELY(x) __builtin_expect(not not(x), 1)
39
# define UNLIKELY(x) __builtin_expect(not not(x), 0)
40
#else
41
# define LIKELY(x) x
42
# define UNLIKELY(x) x
43
#endif
44
45
#endif // ELEMENTSKERNEL_ELEMENTSKERNEL_LIKELY_H_
46
Generated by
1.8.5