]> git.mxchange.org Git - simgear.git/blob - simgear/math/SGLimits.hxx
913fc18b3aba5387592653cd269b6458b91cf260
[simgear.git] / simgear / math / SGLimits.hxx
1 #ifndef SGLimits_H
2 #define SGLimits_H
3
4 #include <limits>
5
6 /// Helper class for epsilon and so on
7 /// This is the possible place to hook in for machines not
8 /// providing numeric_limits ...
9 template<typename T>
10 class SGLimits : public std::numeric_limits<T> {};
11
12 typedef SGLimits<float> SGLimitsf;
13 typedef SGLimits<double> SGLimitsd;
14
15 #endif