octave-maintainers
[Top][All Lists]
Advanced

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

Re: mixed type operations in Octave


From: David Bateman
Subject: Re: mixed type operations in Octave
Date: Mon, 08 Sep 2008 10:23:10 +0200
User-agent: Thunderbird 2.0.0.16 (X11/20080725)

address@hidden wrote:
Quoting Jaroslav Hajek <address@hidden>:
7. pretend that there always exists a real type wide enough to hold
all 64-bit integers, and use the semantics "convert both operands to
wide real, do OP, convert to intXX". On systems where this type really
exists (like the 80-bit long double on x86) it could be implemented
directly; otherwise, it would need software emulation (painfully slow
and laborious).

Just out of curiosity, but would it be possible to have a long_double type in Octave, and would such a type solve the difficulties? Having a long_double type might be nice to have anyway.

Søren



Then we definitely want to clean up Array<T> before doing that, as this is basically the same change as I went through adding teh single precision type.

D.

--
David Bateman                                address@hidden
Motorola Labs - Paris +33 1 69 35 48 04 (Ph) Parc Les Algorithmes, Commune de St Aubin +33 6 72 01 06 33 (Mob) 91193 Gif-Sur-Yvette FRANCE +33 1 69 35 77 01 (Fax) The information contained in this communication has been classified as: [x] General Business Information [ ] Motorola Internal Use Only [ ] Motorola Confidential Proprietary



reply via email to

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