Re: [polyml] PackReal32

2021-02-22 Thread Chris Cannam
ing at this. You're quite right that the shifts were > wrong. I've pushed a fix for this that seems to have corrected it. I'm > not that familiar with the intricacies of floating point numbers so I'm > always glad when someone points out problems. > > David > > On 21/02/

Re: [polyml] PackReal32

2021-02-21 Thread Chris Cannam
fromList[0wx3F, 0wx80, 0wx0, 0wx0]: Word8Vector.vector which is the expected result I mentioned in the previous email. I'm imagining all this has something to do with the tag bit, but I don't really know. Chris On Sun, 7 Feb 2021, at 18:06, Chris Cannam wrote: > Oh, thank you! > > I had thou

Re: [polyml] PackReal32

2021-02-07 Thread Chris Cannam
bytes that > make up the number but how those are interpreted will depend on the > platform. For example it seems that the X87 format used on X86/32 is > different from the SSE format used on X86/64. > > David > > On 02/02/2021 09:25, Chris Cannam wrote: > > Hello!

[polyml] PackReal32

2021-02-02 Thread Chris Cannam
Hello! I find I could do with the PackReal32{Big,Little} structures, 32-bit floats being often more amenable to serialisation and used in some storage formats. Would there be any appetite for adding these? Thanks, Chris ___ polyml mailing list

Re: [polyml] chasing an intermittent allocation failure

2019-08-02 Thread Chris Cannam
> probably set --minheap to, say 1G. > > David > > On 31/07/2019 18:53, Chris Cannam wrote: > > I have an SML program which sometimes fails while trying to allocate an > > array of 3 million ints, with the message > > > > Run out of sto

Re: [polyml] chasing an intermittent allocation failure

2019-08-02 Thread Chris Cannam
On Fri, 2 Aug 2019, at 18:43, David Matthews wrote: > No, but arguments such as --minheap are picked up by the run-time system > whether you are running through the repl or as a stand-alone binary. Oh! That hadn't occurred to me - sorry. Yes, that does seem to be an effective workaround, thank

[polyml] chasing an intermittent allocation failure

2019-07-31 Thread Chris Cannam
I have an SML program which sometimes fails while trying to allocate an array of 3 million ints, with the message Run out of store - interrupting threads and an exception. This happens on one of the first substantial allocations in the program, near the start of its run, so there should be

Re: [polyml] Building on Windows in batch mode -- Visual Studio

2018-03-08 Thread Chris Cannam
On Thu, 8 Mar 2018, at 15:36, Makarius wrote: > Dear Windows experts That should rule me out, but I'll reply anyway! > the task is to build the Poly/ML such that: > > * the build works on the command-line / in batch mode > > * the resulting poly.exe is a command-line tool, not a Windows

Re: [polyml] Is there a Windows build that can run at the command prompt?

2017-05-11 Thread Chris Cannam
On Thu, 11 May 2017, at 17:36, David Matthews wrote: > I don't use Powershell so I don't know what the "| & " sequence does. As I understand it, the | is a classic pipe, and the & tells it that the next thing is the name of an external command rather than a builtin. In fact I never typed the &,

Re: [polyml] Is there a Windows build that can run at the command prompt?

2017-05-08 Thread Chris Cannam
On Fri, 5 May 2017, at 15:00, David Matthews wrote: > On 03/05/2017 09:23, Chris Cannam wrote: > > (I'd love to see a console-only build as an alternative .exe in the > > official Windows distributions.) > > That's certainly possible. Why exactly are you using a consol

Re: [polyml] Is there a Windows build that can run at the command prompt?

2017-05-02 Thread Chris Cannam
based on my experience with various combinations of the > distributions together with the experience of Makarius. > > Hope this answers your questions. > > David > > On 01/05/2017 19:32, Chris Cannam wrote: > > That's good to know, thanks. I'm guessing this has a run

Re: [polyml] Is there a Windows build that can run at the command prompt?

2017-05-01 Thread Chris Cannam
, at 19:12, michael.norr...@data61.csiro.au wrote: > Building under Cygwin or with the official Linux subsystem gives you > this. > > Michael > > On 1/5/17, 19:49, "polyml-boun...@inf.ed.ac.uk on behalf of Chris Cannam" > <polyml-boun...@inf.ed.ac.uk on beha

Re: [polyml] Is there a Windows build that can run at the command prompt?

2017-05-01 Thread Chris Cannam
, at 19:12, michael.norr...@data61.csiro.au wrote: > Building under Cygwin or with the official Linux subsystem gives you > this. > > Michael > > On 1/5/17, 19:49, "polyml-boun...@inf.ed.ac.uk on behalf of Chris Cannam" > <polyml-boun...@inf.ed.ac.uk on beha

[polyml] Is there a Windows build that can run at the command prompt?

2017-05-01 Thread Chris Cannam
Hello -- I'm wondering whether there is a Windows build of Poly/ML available that can be used from a within command prompt or executed from a Powershell script, in the same sort of way as SML/NJ can be on Windows, or as Poly/ML can on other platforms. As far as I can see the Windows distribution