Sorry to be so long replying and thanking you for your help -- I've spent
most of the last week in hospital with very limited communications.
Thank you -- lots of interesting information.
I ended up for the moment with something like (retyping from memory)...
method double {
$!index += 8;
na
On 19-04-16 10:21, Elizabeth Mattijsen wrote:
FWIW, I’ll take PR’s for the PackUnpack distribution to make ‘f’ and ‘d’ work
:-)
Hi Elizabeth,
For the PackUnpack distro this might come in handy... or might go in the
examples corner?
Done some experiments and looks well. Please check the a
Hi Timo,
Thanks for the code snippets, I can use that too. There is already some
code to test endianness
see mail from David Warring at my question about Union. Date April 4 2016.
Greetings,
Marcel
On 19/04/16 16:25, Elizabeth Mattijsen wrote:
> I’ve been looking at nativecast, but haven’t
On 19/04/16 16:25, Elizabeth Mattijsen wrote:
I’ve been looking at nativecast, but haven’t been able to find an > example
that I could apply to this?
>
Liz
Right! I should have given a working example, or at least mention that
CArray would probably be necessary to make this work.
Here'
> On 19 Apr 2016, at 12:03, Timo Paulssen wrote:
>
> On 19/04/16 01:58, Kevin Pye wrote:
>> […]
>> 2. Write a simple C function to take a pointer to a double and return
>> the double, put that into a shared library and then use NativeCall.
>
>> […]
>
>
> Fortunately, you don't have to use a li
On 19/04/16 01:58, Kevin Pye wrote:
[…] > 2. Write a simple C function to take a pointer to a double and
return > the double, put that into a shared library and then use NativeCall.
> […]
Fortunately, you don't have to use a library with a custom function. You
can just use "nativecast" for t
FWIW, I’ll take PR’s for the PackUnpack distribution to make ‘f’ and ‘d’ work
:-)
> On 19 Apr 2016, at 07:28, JuhiMarcel LangbroekTimmerman
> wrote:
>
> Hi Kevin
>
> I've made something up for the time being. You can find it in the BSON
> module. Look for the file lib/Document.pm6 and the s
Hi Kevin
I've made something up for the time being. You can find it in the BSON
module. Look for the file lib/Document.pm6 and the subs encode-double and
decode-double. This code must be rewritten though for speed but at least it
works.
Marcel
P.s. I've seen that not all comments in the pro