Source code of Windows XP (NT5)
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.
 
 
 
 
 
 
CryptoAlgo-Dev 75c48ba87f
Merge pull request #4 from ArchGryphon9362/patch-1
4 years ago
..
axp64 Add source files 4 years ago
atan.c Add source files 4 years ago
fpexcept.c Add source files 4 years ago
ieeemisc.c Add source files 4 years ago
ldexp.c Add source files 4 years ago
log.c Add source files 4 years ago
makefile Add source files 4 years ago
modf.c Add source files 4 years ago
readme.txt Add source files 4 years ago
sources Add source files 4 years ago
tan.c Add source files 4 years ago
trans.h Add source files 4 years ago
util.c Add source files 4 years ago

readme.txt






This library implement some function to support some floating
point operation wow64cpu might call. Codes has been cloned from
\NT\private\sdktools\vctools\crt\fpw32\tran and modified some stuff
to remove some dependency on other RTL functions.

Implemented functions are:

1. double modf( double x, double *intptr )
2. double _logb( double x )
3. double _scalb( double x, long exp )
4. double ldexp( double x, int exp )
5. double Proxylog10( double x )
6. double Proxyatan2( double y, double x )

and some other helpful miscellaneous ieee floating point functions
like _frnd(double x), _logb(double x) etc.


This library is almost self consistent set of functions anybody can use. They just
need to implement following two functions.

1. VOID SetMathError ( int Code ) - math library will call this function
with math error code caller light be interested if math operation failed.
2. VOID ProxyRaiseException(
IN DWORD dwExceptionCode,
IN DWORD dwExceptionFlags,
IN DWORD nNumberOfArguments,
IN CONST ULONG_PTR *lpArguments
)
Math function call this function if some exception happen during floating
point operation like ieee floating point exception.