Re: [racket-dev] Extflonum type for windows

2013-03-30 Thread Matthew Flatt
Sorry for the long delay! At Wed, 20 Mar 2013 16:14:46 +0400, Michael Filonenko wrote: Agreed. But since switching the processor at last minute every time slows things down a bit, it may be useful to have an option to switch to the extended mode on Win32 just once. That will be useful for us

Re: [racket-dev] Extflonum type for windows

2013-03-20 Thread Neil Toronto
On 03/20/2013 05:14 AM, Michael Filonenko wrote: Meanwhile, it happens that switching the precision at the last minute allows the 32-bit Windows build to support extflonums without using SSE and without affecting flonum arithmetic. Agreed. But since switching the processor at last minute every

Re: [racket-dev] Extflonum type for windows

2013-03-19 Thread Michael Filonenko
Matthew, thank you very much. It seems that your changes with precision switching on every function call is not required on 32-bit windows. I have prepared a little pull request that fixes it. All tests on my VirtualBox machines (both 32-bit and 64-bit) pass. Our own tests related to ffi pass

Re: [racket-dev] Extflonum type for windows

2013-03-18 Thread Matthew Flatt
At Mon, 4 Mar 2013 19:06:32 +0300, Michael Filonenko wrote: The following pull request provides long double type (extflonum) on win32: https://github.com/plt/racket/pull/265 Merged --- with some changes, as usual... It seems that RacketCGC is supposed to be built without any third-party DLLs

Re: [racket-dev] Extflonum type for windows

2013-03-18 Thread Neil Toronto
On 03/18/2013 07:53 AM, Matthew Flatt wrote: The JIT could be improved to avoid switching between consecutive operations, but does the cost of this approach look reasonable as a start? IMO, yes. The only other good options for higher precision are Racket's rationals and `math/bigfloat', which