[PD] weird behavior of factorial in expr

oscar pablo di liscia odiliscia at gmail.com
Wed Sep 16 23:14:29 CEST 2020

Hello list:
I apologize if this is already a very well known issue, but i've found that
the "fact" (factorial) function does not seem to work properly in the
"expr" external when called with an argument greater than 12.
I attached a patch in which i've made my own abstraction (which I cannot
tell it is done  in the most efficient way, but matches the result of any
calculator) to show the discrepancy. Am I doing something wrong?

Oscar Pablo Di Liscia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20200916/6caf95f9/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: factorial-test.pd
Type: text/x-puredata
Size: 1246 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20200916/6caf95f9/attachment.bin>

More information about the Pd-list mailing list