octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hint required: double conversion


From: John W. Eaton
Subject: Re: Hint required: double conversion
Date: Mon, 15 Aug 2016 02:06:37 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.2.0

On 08/13/2016 04:19 PM, Ernst Reissner wrote:
On 08/13/2016 03:05 AM, John W. Eaton wrote:
On 08/12/2016 10:56 AM, Ernst Reissner wrote:
Hi all,

I want to provide a function double(x) for the class octave_java.

It is fairly clear to me what the body of the function to be implemented
looks like,

but I cannot find out, which methods to be implemented

and how to register the convertsion function.


Can anyone give me a hint of the framework.

I would like to fill in the gaps.

The way conversions are handled now is not very good.  I'm looking at
fixing it so that it will be simpler to provide conversions to double,
single, and all the integer types.  If what I have planned will
actually work, then it will only require defining additional methods
in the octave_java class to perform the conversion.

jwe



Good ... Is there a patch or a bug report I can register to so that I am
notified, that you are done?

No, there was no bug report.  I checked in my changes here:

http://hg.savannah.gnu.org/hgweb/octave/rev/0f9ab4f1f4b3
http://hg.savannah.gnu.org/hgweb/octave/rev/cd2e24983670
http://hg.savannah.gnu.org/hgweb/octave/rev/564203123065
http://hg.savannah.gnu.org/hgweb/octave/rev/a7e68243a326
http://hg.savannah.gnu.org/hgweb/octave/rev/8b18f46f6427

jwe





reply via email to

[Prev in Thread] Current Thread [Next in Thread]