Rev 443 | Rev 639 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 443 | Rev 615 | ||
---|---|---|---|
Line 116... | Line 116... | ||
116 | }
|
116 | }
|
117 | inline bool isBitSet(const int value, const int bit) |
117 | inline bool isBitSet(const int value, const int bit) |
118 | {
|
118 | {
|
119 | return value & (1 << bit); |
119 | return value & (1 << bit); |
120 | }
|
120 | }
|
- | 121 | ||
- | 122 | // define a global isnan() function
|
|
- | 123 | #define isnan(x) ((x) != (x))
|
|
- | 124 | ||
121 | #endif // GLOBAL_H
|
125 | #endif // GLOBAL_H
|