You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
382 B
17 lines
382 B
#ifndef __RLDMATH__
|
|
#define __RLDMATH__
|
|
|
|
extern RLDDIValue RLDDIhdivtab[];
|
|
|
|
#define HDIVIDE(a, b) RLDDIFMul24((a), RLDDIhdivtab[b])
|
|
|
|
#ifdef USE_FLOAT
|
|
#define TWOPOW32 ((double)(65536.0 * 65536.0))
|
|
|
|
#define TWOPOW(N) (((N) < 32) ? ((double)(1UL << (N))) : \
|
|
((double)(1UL << (N - 32)) * TWOPOW32))
|
|
|
|
extern double RLDDIConvertIEEE[];
|
|
#endif
|
|
|
|
#endif
|