octave-maintainers
[Top][All Lists]
Advanced

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

[CHANGESET]: First attempt at a single precision type.


From: John W. Eaton
Subject: [CHANGESET]: First attempt at a single precision type.
Date: Mon, 28 Apr 2008 02:28:31 -0400

On 27-Apr-2008, David Bateman wrote:

| Basically, as this is just a copy of the double precision type I'd
| always thought it would be relatively easy to add this. With that idea I
| didn't attempt to make template versions of the copied code to reuse it
| and just copied it as the easier fashion to get this working. Therefore,
| there might be some simplifications that might be done..

I'd been hoping to do this with templates and specializations.  Do you
think it is worth doing that eventually?  It seems you should now have
all (or most) of the specializations.

| I've assumed that the correct mixed double/single behavior is to promote
| the single type to double,

Yeah, you would think that would be the way it should work, but of
course Matlab converts to single.

jwe



reply via email to

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