search for: rwin_fpset

Displaying 4 results from an estimated 4 matches for "rwin_fpset".

2006 Nov 21
1
dyn.load
...n received this warning: Warning message: DLL attempted to change FPU control word from 8001f to 9001f Getting rid of this error was part of the reason for writing WRAPX.DLL, as X.DLL seems to play about with this register. So having another look at the manual entry, I then used the function Rwin_fpset() (in gnuwin32/extra.c) to reset the FPU control register when I leave all the functions in WRAPX.DLL. But the problem persists. In the Delphi example in the manual, which I have put at the end of this message, ( and I have never programmed in Delphi before so I am guessing ) there is the...
2004 Jun 10
2
Questions about Preserving registers
...For example, 1. On first entry to the DLL, set the control word to the standard R value, then save that as the Delphi default. Put this code in the library module: ## My question: Is that mean put the following code in my Fortran routine without any change based on the message I got? procedure Rwin_fpset; cdecl; external 'R.dll'; function Get8087CW:word; begin asm fstcw result end; end; begin Rwin_fpset(); Set8087CW(Get8087CW); end. 2. After any operation that may have changed the status word, put this call before returning to R: ## My question: where do I put the line be...
2005 Aug 29
2
floating point control on windows
Hi, I'm sure that this question has come up many times before. When I load an R extension dll I've built with the Microsoft compiler, I get the warning: Warning message: DLL attempted to change FPU control word from 8001f to 9001f So, what I did to try to fix the problem (to my knowledge, Microsoft will not support compile time switching of floating point control until version
2000 Apr 26
2
Cross compiling a package for Windows on Linux
...X/i386-mingw32/include -O2 -Wall -pedantic -I../include -I../include/R_ext -I. -DHAVE_CONFIG_H -c edit.c -o edit.o i386-mingw32-gcc -isystem /packages/R-X/i386-mingw32/include -O2 -Wall -pedantic -I../include -I../include/R_ext -I. -DHAVE_CONFIG_H -c extra.c -o extra.o extra.c: In function `Rwin_fpset': extra.c:452: warning: implicit declaration of function `_fpreset' extra.c:453: warning: implicit declaration of function `_controlfp' extra.c:453: `_MCW_EM' undeclared (first use in this function) extra.c:453: (Each undeclared identifier is reported only once extra.c:453: for...