Revision 1378,
1.0 KB
checked in by giegl, 18 years ago
(diff) |
GTPD - Jungle Rumble - integrate into GTP SVN structure
|
Line | |
---|
1 | #ifndef NX_FOUNDATION_NXFPU
|
---|
2 | #define NX_FOUNDATION_NXFPU
|
---|
3 | /*----------------------------------------------------------------------------*\
|
---|
4 | |
|
---|
5 | | Public Interface to NovodeX Technology
|
---|
6 | |
|
---|
7 | | www.novodex.com
|
---|
8 | |
|
---|
9 | \*----------------------------------------------------------------------------*/
|
---|
10 | /** \addtogroup foundation
|
---|
11 | @{
|
---|
12 | */
|
---|
13 |
|
---|
14 | #include "Nx.h"
|
---|
15 |
|
---|
16 | #ifndef WIN32
|
---|
17 | #include <math.h>
|
---|
18 | #endif
|
---|
19 |
|
---|
20 | #define NX_SIGN_BITMASK 0x80000000
|
---|
21 |
|
---|
22 | //Integer representation of a floating-point value.
|
---|
23 | #define NX_IR(x) ((NxU32&)(x))
|
---|
24 |
|
---|
25 | //Floating-point representation of a integer value.
|
---|
26 | #define NX_FR(x) ((NxF32&)(x))
|
---|
27 |
|
---|
28 | //Absolute integer representation of a floating-point value
|
---|
29 | #define NX_AIR(x) (NX_IR(x)&0x7fffffff)
|
---|
30 |
|
---|
31 | /** @} */
|
---|
32 | #endif
|
---|
33 |
|
---|
34 |
|
---|
35 | //AGCOPYRIGHTBEGIN
|
---|
36 | ///////////////////////////////////////////////////////////////////////////
|
---|
37 | // Copyright © 2005 AGEIA Technologies.
|
---|
38 | // All rights reserved. www.ageia.com
|
---|
39 | ///////////////////////////////////////////////////////////////////////////
|
---|
40 | //AGCOPYRIGHTEND
|
---|
41 |
|
---|
Note: See
TracBrowser
for help on using the repository browser.