home *** CD-ROM | disk | FTP | other *** search
- / libm.h (emx+gcc)
-
- #define _LIBM_H
- #include <errno.h>
-
- #define _xam fxam; fstsww %ax; andb $0x45, %ah
-
- #define j_nan cmpb $0x01, %ah; je
- #define j_inf cmpb $0x05, %ah; je
-
- #if !defined (__MT__)
-
- #define SETERRNO(x) \
- movl x, _errno
-
- #else
-
- #define SETERRNO(x) \
- call __errno_fun ;\
- movl x, (%eax)
-
- #endif
-