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.
However, the question of how much you can store in (and reliably
retrieve from) a gdtb file is something we can investigate. If
there's a de facto 4GB limit at present it should be possible to
overcome that without too much difficulty.
Allin