Re: [Rd] floating point control on windows

2005-08-29 Thread dhinds
Chris Paulse <[EMAIL PROTECTED]> wrote: > 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 I think maybe

Re: [Rd] floating point control on windows

2005-08-29 Thread Chris Paulse
== DLL_PROCESS_ATTACH) { Rwin_fpset(); } return TRUE; } #endif -Original Message- From: Prof Brian Ripley [mailto:[EMAIL PROTECTED] Sent: Monday, August 29, 2005 10:53 AM To: Chris Paulse Cc: r-devel@r-project.org Subject: Re: [Rd] floating point control on

Re: [Rd] floating point control on windows

2005-08-29 Thread Prof Brian Ripley
We recommend calling Rwin_fpset() which is exported by R.dll and is known to do the trick. As it contains _controlfp(_PC_64, _MCW_PC); it may be that the args you used are incorrect (and I am not on Windows to check the docs, but note that is the form used in the URL you cite). On Mon, 29

[Rd] floating point control on windows

2005-08-29 Thread Chris Paulse
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