Dear Stéphane, all,
(to be super-nit-picky...)
At the given link [1], it states that
\forall t \in |N, y(t) = 0.95
shouldn't that be
\forall t \in |N^+, y(t) = 0.95
Note the plus sign, which excludes negative t's for which y(t) = 0.
This seems to me a rather important element of the faust language (e.g. used in
the famous "dirac" implementation `d = 1-1;')
cheers
Till
[1] https://faustdoc.grame.fr/manual/syntax/#numbers
> On 8. Feb 2021, at 19:33, Stéphane Letz <[email protected]> wrote:
>
> 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 <[email protected]> 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 <[email protected]> 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
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/faudiostream-users
>
>
>
> _______________________________________________
> Faudiostream-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/faudiostream-users
--
Till Bovermann
https://tai-studio.org | http://lfsaw.de | https://www.instagram.com/_lfsaw/
_______________________________________________
Faudiostream-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/faudiostream-users