Am 02.10.19 um 01:22 schrieb Allin Cottrell:
On Tue, 1 Oct 2019, Artur Tarassow wrote:
> Am 01.10.19 um 22:25 schrieb Sven Schreiber:
>> Am 01.10.2019 um 21:45 schrieb Artur Tarassow:
>>>
>>> I tried to find out what's the default datatype gretl stores integers
>>> or float values. However, I could not find any information on this.
>>
>> I believe everything is a double. In 2014 it was said that a massive
>> rewrite would be needed to change this architecture. OTOH, now that
>> complex numbers are also supported, maybe that isn't true anymore, I
>> don't know.
>>
> Let's see what the developers say.
Sven is right, all data series in gretl are stored as double precision
floats. Marking a series as discrete doesn't make any difference to
that, and support for complex numbers just means we have an even bigger
type used internally. It would require big internal revisions to change
that.
Thanks Sven and Allin. This explains why so much memory is taken by
gretl given that many of my integer series are stored as double
precision floats.
Artur