The ‘pow' operation computed on integer arguments was indeed incorrect at 
compile time. Should be fixed in 2.30.12 version on master-dev.

The documentation has been completed for numbers: 
https://faustdoc.grame.fr/manual/syntax/#numbers

Stéphane  


> Le 8 févr. 2021 à 00:11, Dario Sanfilippo <sanfilippo.da...@gmail.com> a 
> écrit :
> 
> Thanks, Oleg. And sorry if I was a little lazy. :-)
> 
> I see that 2^32 gives 4.2949673e+09 as well; shouldn't we have the same 
> behaviour between a signal and its delayed version?
> 
> Dario
> 
> On Sun, 7 Feb 2021 at 20:26, Oleg Nesterov <o...@redhat.com> wrote:
> On 02/07, Dario Sanfilippo wrote:
> >
> > Other than that, can you tell why -2 or 2 is producing -inf?
> 
> Runtime integer overflow, I guess. Why didn't you try to simplify
> your code ? ;)
> 
> Consider
> 
>         process = 2.0', 2' : par( i, 2, ^(32));
> 
> output:
> 
>         0                       0
>         4.2949673e+09           0
>         ...
> 
> 
> this means that
> 
>         process = 2.0', 2' : par( i, 2, 1/^(32));
> 
> outputs
> 
>         inf                     inf
>         2.32830644e-10          inf
>         ...
> 
> Oleg.
> 
> 
> 
> -- 
> Dr Dario Sanfilippo
> http://dariosanfilippo.com
> _______________________________________________
> Faudiostream-users mailing list
> Faudiostream-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/faudiostream-users



_______________________________________________
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users

Reply via email to