why not go all the way and use Uint64 instead? It should give us another million years.
----- Original Message -----
From: Tito Latini <tito.01beta@gmail.com>
Date: Friday, February 24, 2012 9:37 pm
Subject: Re: [Cs-dev] timecounting bug
To: Developer discussions <csound-devel@lists.sourceforge.net>

> I have to make a lot of tests (cpu etc), however int64_t works here.
> The limit is
>
>   (2^63 / sr) * ksmps
>
> for example:
>
>   sr    = 192 kHz
>   ksmps = 1
>
>   tmax = 4.80e13 ~ 1,523,287 years (but I cannot try it in
> real time)
>
> I think that 'exit + error' is good if the time overcomes this limit.
>
> PS: I have not included the leap years, the inclination of the
> terrestrial axle,
>     millennium bugs, 971 world wars, alien
> invasions, csound without sound,
>     csound without c, csound without pc, etc
>
> tito
>
> -----------------------------------------------------------------
> -------------
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud
> computing
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini, Senior Lecturer, Dept. of Music,
National University of Ireland, Maynooth