mixed type operations in Octave
David Bateman
David.Bateman at motorola.com
Mon Sep 8 03:23:10 CDT 2008
soren at hauberg.org wrote:
> Quoting Jaroslav Hajek <highegg at gmail.com>:
>> 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 David.Bateman at motorola.com
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
More information about the Octave-maintainers
mailing list