/usr/share/pyshared/pywcs/include/isnan.h is in python-pywcs 1.11-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | #ifndef __ISNAN_H__
#define __ISNAN_H__
#include "wcsconfig.h"
typedef unsigned WCSLIB_INT64 Int64;
#if !defined(U64)
#define U64(u) (* (Int64 *) &(u) )
#endif /* U64 */
#if !defined(isnan64)
#if !defined(_MSC_VER)
#define isnan64(u) \
( (( U64(u) & 0x7ff0000000000000LL) == 0x7ff0000000000000LL) && ((U64(u) & 0x000fffffffffffffLL) != 0)) ? 1:0
#else
#define isnan64(u) \
( (( U64(u) & 0x7ff0000000000000i64) == 0x7ff0000000000000i64) && ((U64(u) & 0x000fffffffffffffi64) != 0)) ? 1:0
#endif
#endif /* isnan64 */
#if !defined(isinf64)
#if !defined(_MSC_VER)
#define isinf64(u) \
( (( U64(u) & 0x7ff0000000000000LL) == 0x7ff0000000000000LL) && ((U64(u) & 0x000fffffffffffffLL) == 0)) ? 1:0
#else
#define isinf64(u) \
( (( U64(u) & 0x7ff0000000000000i64) == 0x7ff0000000000000i64) && ((U64(u) & 0x000fffffffffffffi64) == 0)) ? 1:0
#endif
#endif /* isinf64 */
#if !defined(isfinite64)
#if !defined(_MSC_VER)
#define isfinite64(u) \
( (( U64(u) & 0x7ff0000000000000LL) != 0x7ff0000000000000LL)) ? 1:0
#else
#define isfinite64(u) \
( (( U64(u) & 0x7ff0000000000000i64) != 0x7ff0000000000000i64)) ? 1:0
#endif
#endif /* isfinite64 */
#endif /* __ISNAN_H__ */
|