Displaying 3 results from an estimated 3 matches for "_fpu_getcw".
2009 Jul 27
1
how to change FPU control word?
Dear developers,
is there (already) a platform-independent way for (temporarily!)
changing the fpu control word?
More precisely: I am looking for functions (accessible from C code in R
packages) which read and write the fpu control word on x86 cpus (and
cause no harm otherwise), because I need to (temporarily) turn off
internal 80-bit precision for some algorithms relying on 64-bit IEEE
2002 Nov 18
1
i386 floating point tweaking
...en dyn.load and run:
> dyn.load("flipme.so")
> .C("flipme")
Process R floating point exception at Mon Nov 18 17:41:50 2002
The debugger tells me its the printf line that kills it.
Anyone have an idea what's going on here? I've tried a few things:
* using _FPU_GETCW I've determined that R hasn't changed the control
word from the system default.
* I wrote a short main program that used dlopen() to call flipme - and
it worked fine, so the problem isn't intrinsic to dynamically loaded code.
* the author of the triangle package has put this in the...
2010 Nov 16
3
Installing Wine From A Patched Source
A program I'm running requires a patch to be installed, I successfully downloaded the source and applied the patch to the source. How do I compile this into a wine build I can use now? The documentation on the wiki doesn't help that much, I'm quite new to all this.